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

Unable to call data class flow from work class flow

SA-15737

Summary



When user calls a flow of Data class from an activity of either Work or Data class, RecalculateAndSave is called in the end that fails as this activity is not found in the class hierarchy of flows applies to class (Data). RecalculateAndSave is an out of the box activity that is of Work Class.

Error Messages



Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'RECALCULATEANDSAVE' that applies to 'ABC-ABCApp-Data'. There were three rules with this name in the rule base, but none matched this request. The three rules named 'RECALCULATEANDSAVE' defined in the rule base are: 3 unrelated to applies-to class 'ABC-ABCApp-Data', for example: 'Work-'.

Steps to Reproduce



Create a Work class flow that has a utility.
This utility must call an activity of Data class, that in turn calls a flow of a Data class.

Root Cause



This was a incorrect design. 

Resolution



Following is the correct approach:

A Data class flow is called from a sub process on page property of Data class, and this sub process must be called from Work class flow.

Suggest Edit

Published January 31, 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