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

Flow does not work with decision shape as first and last shape



Flow does not work in an offline mode when the decision shape is the first shape (after the START shape) and the last shape (before the END shape) in a flow.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Configure the application as offline enabled
  2. Create a section with a button
  3. OnClick of button add Create Work action
  4. Log in to the user portal
  5. Change the mode of user device to airplane
  6. Click the buttonIt should create a case as Create Work action is supported in offline mode, however, this does not work

Root Cause

This issue was determined to be a product enhancement request.


Perform the following local-change: 

Include a dummy assignment after the decision shape and bypass the assignment using JavaScript

/* Local change to auto-process an assignment offline */ 
function preFlowAction$<Dummy Flowaction Name>(){ 



Published August 24, 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