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

When rule applied on Case Wide Actions does not work

SA-23632

Summary



User has created a local action X to show conditionally in the other actions menu based on status or stages or when other local actions are open. In order to do this user has created a case wide local action X and a relevant When condition abc

The issue is that the local action X is displayed in the other action menu, when another local action Y or Z is open, seems that When rule abc does not execute. The expected behavior is it should hide X, which is not happening in the user's case.


Error Messages



Not Applicable.


Steps to Reproduce



1. Create a case.
2. Create a flow action.
3. Create a When rule to hide this flow action when another flow action is called.
4. Call it as a case wide local action with the When condition.


Root Cause



When rule execution is occurring when an assignment is submitted and when the newAssignPage is not fully updated.
 

Resolution



1.    Create a When rule in Work- where user has one more check for the flow action name to filter.

The second conditions remain same and modify the filter logic to “!A OR (A AND B)”

 

2.    Override pyWorkActionsPerform in the case respective class.

For the second Item List which uses pyLocalActionsList pagelist property, update the visibility to when rule with the one created in step 1.

Published May 30, 2016 - 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.

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