Create an MBO with at least one load argument, map as propagate to attributes, then assign the MBO to a cache group that uses an Online policy.
- From Unwired WorkSpace, create an MBO that has at least one load argument. For example, you could define an Emp MBO as:
SELECT id,
empName,
empDeptId FROM sampledb.dba.employee
WHERE empDeptId = :deptIdLP
- In the MBO Properties view, select the tab, map each load argument to be used as an operation load argument for the Mobile Workflow package to a Propagate to Attribute. This example requires you to map the deptIdLP load argument to the empDeptId attribute. You must also verify that data types are INT and the default value is a valid INT.
- Set the Online cache group policy
for the MBO.
- Add the MBO to a cache group that uses the Online cache group policy. For example, create a new cache group named CacheGroupOnline and set the policy to Online.
- Drag and drop the MBO to CacheGroupOnline.
The findByParameter object query is automatically generated based on all load arguments that have propagate-to attributes:
- Deploy the project that contains the MBO to Unwired Server.