Question

2
Replies
2110
Views
Beezers Member since 2013 12 posts
Aegon
Posted: 4 years ago
Last activity: 4 years 1 month ago
Closed
Solved

How does rule resolution know which class to start searching from?

How does rule resolution know where to start from when searching for the right rule to execute at run time - is it the applies-to class of the calling rule, or is it the pxObjClass of the work item being processed?

For example, suppose I have a work item with pxObjClass of ABC-MyApp-Work-Task and the process flow is in class ABC-MyApp-Work- and this calls an activity DoStuff which is in class ABC-MyApp-. So far so good, but what if DoStuff calls another activity DoMoreStuff and there are two versions of this, one in class ABC-MyApp-Work-Task and another in ABC-. Which version of DoMoreStuff would actually be called at run time?

Pega Academy
Moderation Team has archived post
Share this page LinkedIn