Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pre-processing activity in flow action executes in offline mode

SA-51762

Summary



A pre-processing activity in a flow action executes in the offline mode. This occurs when using a mobile application.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Define an activity as a pre-processing action on a flow action
  2. Configure a Property-Set in the activity to set a property. For example, pyLabel
  3. Log in to the mobile application and create a work object
  4. Load this flow action. The pyLabel on the work object is updated, as the pre-activity is executed


Root Cause



This is as per the Pega Mobility product design. If a pre-activity is specified on the flow action which is on the first shape of the flow, it is packaged or executed by default on the mobile application. This does not apply to subsequent flow action shapes in the flow.


Resolution

Perform the following local-change:
  1. Use the below When rule to skip the activity on the first step of the flow action:!pega.getPackageRuntime().isDeltaSync()
  2. Exit the activity in the first activity step


Published March 19, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us