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

Error messages are not cleared on switching a flow action

KCP-332

Summary

Error messages are not cleared on switching a flow action.

 

Error Messages

Not Applicable

 

Steps to Reproduce

  1. Configure an assignment with primary and secondary flow actions
  2. Add a few fields to the primary flow action
  3. Validate the fields for a certain condition and set an error message on submit of the flow action. The same flow action populates back with an error message
  4. Switch to the secondary flow action. The error messages continue to display on the screen. The pre-activity does not execute

 

Root Cause

An issue in the custom application code or rules. The pyWorkActionsReview menu is used in the Perform harness instead of pyWorkActionsPerform. The parameters set in the pyWorkActionsPerform menu causes ProcessAction to be invoked and the page messages are cleared if param.KeepMessages is False.

 

Resolution

Perform the following local-change:

Use the pyWorkActionsPerform menu in the Perform harness.

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