Defining Chained Operations

A chained operation acts upon the results from a previous operation, and applies the results to the consolidated database (CDB) using the apply operation results policy.

Primary read is the EIS operation for an MBO that defines how it is populated. A new operation of type "read" is introduced whose cache update policy is always apply operation result. It returns a record set that is applied to the CDB. These kind of operations are called as chained read operations. There can be any number of chained read operations defined on an MBO. Chained read operations generally return data corresponding to a finer granularity than the primary read of the MBO. This enables updating the cache at finer granularity. The chained read operations can be chained to any create, update, delete (CUD) operations of the MBO to achieve the desired results. The Device API does not support calling chained read operations directly, but can be invoked independently using DCN request.
Note: These terms all represent the same thing: consolidated database, CDB, and cache.
  1. In the Mobile Application Diagram, double-click the operation to which you want to chain the operation.
  2. In the Operation Properties dialog, select the Cache Policy tab.
  3. For Cache Update Policy, select Chained operation.
  4. For the Chained Operation, select New.
  5. In the Mobile Business Operation Creation wizard, enter a name for the operation, and select Read as the operation type.
  6. Select the connection type, and either select the connection name, or click New, and create a new connection. Click Next.
  7. Complete the operation definition according to the data source type to which you are binding the operation. For example, for a Web-service data source, from the XSLT Definition screen, select Configure XSLT to access the XSLT.
  8. Modify the operation to meet the intended need. For example, you may have an MBO operation that inserts records into the database. The chained operation filters the results, so that only those for a particular user are inserted into the CDB.


Created July 22, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com