Defining Mobile Workflow Load Arguments from Mapped Propagate to Attributes

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.

  1. 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
    
  2. In the MBO Properties view, select the Attributes > Load Arguments 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.
  3. Set the Online cache group policy for the MBO.
    1. 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.
    2. Drag and drop the MBO to CacheGroupOnline.
    The findByParameter object query is automatically generated based on all load arguments that have propagate-to attributes:
  4. Deploy the project that contains the MBO to Unwired Server.