from where does rule resolution take the rulesets in a particular thread?
Is there any way to change the rule set hierarchy for a thread within the requester? We have 2 applications developed based on rule sets.Since there are thousands of rules not considering moving the rules from ruleset to class based rule resolution. looking for some solution with minimal changes.There are 2 applications built on same framework. Users has to create cases of both the applications using 1 login.
I am not sure you could do this, as built on application's purpose is to segregate application and they parallelly exists. Cases are restricted to the application.
Each built-on application is processed by using a depth-first algorithm that searches as far as possible along a tree branch before moving on to another tree branch.
Ruleset stack assembly generally follows the same guidelines that are used for creating the linear application stack at runtime. However, ruleset stack assembly for a specific rule is based on a rule's "owning application," which is defined as the specific application that the rule belongs to.
To understand, application stack hierarchy in Pega for multiple built-in applications, refer:-
https://docs-previous.pega.com/application-stack-hierarchy-multiple-built-applications
Hope it helps in understanding how the stack is developed at runtime, please notify by marking this post as answered/helpful if it does.
Regards,
Asif