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

System is searching flow action in wrong class.

SA-18157

Summary



User has a section in Work- containing a tabbed repeating layout with embedded sections. The embedded section is in Data- contains a link to open a local action which is also in Data- class  in modal dialog. 

Error Messages



"Failed to find a 'RULE-OBJ-FLOWACTION' with the name 'abc' that applies to 'xyz'. There were 1 rules with this name in the rulebase, but none matched this request. The 1 rules named 'abc' defined in the rulebase are: 1 unrelated to applies-to class 'xyz', for example: 'wxy'.

Steps to Reproduce



1. Create a section in Work- containing a tabbed repeating layout with embedded sections. 
2. The embedded section (Data-) contains a link to open a local action (Data-) in modal dialog. 
Notice the error when you click the link.


Root Cause



A defect in Pegasystems’ code or rules. The Base Reference parameter is not calculated properly when the local action is launched via modal. Due to this processAction activity is unable to find the flow action in the right class.

The issue is with in _processActionModalOnlineHandler API. Need to update the getRepeatObject invocation to accept second argument. This argument when passed as true will stop the DOM climbing as and when a section is encountered. This changes will inturn fix the BaseReference from calcuating properly.


Resolution



Apply HFix-25422
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% 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