Configuring the pyGetWorkGroupForRobotByRequestorOperatorID decision table
To map the user credentials to work groups in your application, use the pyGetWorkGroupForRobotByRequestorOperatorID decision table.For example, if you use Kerberos authentication, your decision table maps the Microsoft Windows user principal name (UPN) from a valid Kerberos ticket to a work group in your system. All robots registered by using these credentials are assigned to the work group specified in the decision table.
With Pega Robot Manager, you can update the pyGetWorkGroupForRobotByRequestorOperatorID decision table through the Pega Robot Manager user interface. For more information, see Changing settings from the Pega Robot Manager interface.
In the navigation panel of Pega Robot Manager, click Records.
Expand the Decision category, and then click Decision Tree.
Click the pyGetWorkGroupForRobotByRequestorOperatorID decision table in the @baseclass class and save it to your application ruleset.
Add the user names and their corresponding work group IDs to the decision table. For example,For Kerberos authentication, add the user principal names (UPNs) and their corresponding work groups to the decision table.For more information about decision tables, see About Decision tables.
Set the sequence in which the system registers robots (either from within the registration request of a robot or through the decision tables) by editing WorkgroupSpecifiedInPayloadTakesPrecedence dynamic system setting.For more information, see Configuring how robots are assigned to work groups (initial robot registration only).
- Assigning to a work group by using a decision table (initial robot registration only)
If you want Pega Robot Manager to automatically assign each robot to a work group, you can customize one of the provided decision tables, depending on the method that you want to use. A robot can be assigned to a work group based on the user ID or the robot ID.