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

ToDecisionTable routing activity does'nt work for non Work class

SA-30224

Summary



User is facing issue with ToDecisionTable routing activity, it does not work for non Work class


Error Messages



.pyModelProcess.pyShapes(ASSIGNMENT63).pyRouterProp.pyCallParams.DecisionTable:
Unable to open an instance using the given inputs: Rule-Declare-DecisionTable Work.IsRouteTo

Failed to find a 'RULE-DECLARE-DECISIONTABLE' with the name 'ISROUTETO' that applies to 'XXX-XXX-Work-XXX'. There were 2 rules with this 2 unrelated to applies-to class 'XXX-XXX-Work-XXX', for example: 'Data-Admin-OrgDivision'.


Steps to Reproduce



1. In a flow under Work class, use Split for each of a Page list of object type ( Data-Admin-OrgDivision ).
2. In Data-Admin-OrgDivision class, create a flow to route using ToDecisionTable.


Root Cause



An issue in the custom application code or rules. The ToDecisionTable activity is looking for the Decision Table in Work class. It was created in Data class.

Resolution



Save the decision table to Work class which resolves the issue. 

 

Suggest Edit

Published November 18, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

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
Contact us