How to define an access group which includes both RuleSets?
I would like to create an agent with ruleset R1 that invokes an activity in ruleset R1 that calls a report defined in ruleset R1 that joins classes in ruleset R1 and R2. R1 and R2 are Application Validation mode and R1 is built on R2. On agent (in Advanced mode) I have defined an Access Group that points to MyApp with ruleset R1. The agent return errors because does not find properties of class defined in R2 referenced in the report. How can I solve this problem? At link https://pdn.pega.com/access-groups-agents#addinggroup
suggest " If you create an agent which accesses some functionality not in the agent’s RuleSet or prerequisites of the agent’s RuleSet, you must define an access group which includes both RuleSets (the agent’s RuleSet, and the RuleSet where the additional functionality is), and include that access group on the agent rule form"
but how can I define an access group which includes both RuleSets (R1 and R2)? Access Group points to Application and not ruleset.
***Edited by Moderator Marissa to update categories***