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

Assignments work incorrectly on using flow in modal dialog



Assignment works incorrectly on using a flow in the modal dialog feature post action of a User Interface (UI) element. 

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure two sub processes in a flow
  2. Add a flow to a User Interface (UI) element in the modal dialog action in the first process
  3. Close the modal
  4. Submit the assignment. It is sent to Performed assignments

Root Cause

The flow in the modal dialogue is handled by a different thread. Commits or changes to the flow launched in the modal dialog make the work object inconsistent as the pxFlow of the completed flow and the Assign-Worklist entry of the previously completed assignment are not removed.


Perform the following local-change:
  1. Set .pyTemporaryObject to True before launching the flow in the modal dialog 
  2. Set .pyTemporaryObject to False after launching the flow in the modal dialog

Published December 2, 2021

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