Virtual machines (VMs) must first register with the Pega Platform before they can retrieve assignments that are routed to their work queues.
Complete the following steps so that the Pega Platform can register VMs:
Create a Pega Platform operator ID, whose credentials are also used by Pega Robotics Automation Runtime, that registers the robotic VMs.
You can assign to the administrative operator any access group that points to your application, but the access group must contain the PegaRULES:RoboticAdministrator role, which provides the minimum privileges needed to register a VM.
Create an operator ID. For more information, see About Operator ID data instances
Create an access group for the operator and assign it to the operator ID. For more information about access groups, see Access Group data instances.
Configure the work group and work queues from which each VM will register to obtain assignments.
Create a work group that contains the work queues from which the VMs obtain assignments. The work group should be associated with a ruleset in your application stack. For more information about work groups, see About Work Group data instances
Create a work queue for each VM from which the VM retrieves assignments. For more information about work queues, see About Workbasket data instances .
Configure the work queue to use RPA.
Click the Workbasket tab.
From the Type list, select Robotic.
In the Maximum queue length field, enter the maximum number of assignments that should be in the work queue at any time.
You can change this value in the Pega Robotic Automation Management Console, which is available on Pega Exchange.
In the Maximum automation execution time (seconds) field, enter the amount of time that the VM is expected to take to run the automation that is specified on the assignments in this work queue.
You can change this value in the Pega Robotic Automation Management Console.
In the Work group field, enter the work group to which the work queue belongs.
Configure other work queue settings, as appropriate.
Click Save to save the rule form.
Map access groups to the work groups into which VMs authenticate.
Click Records .
Expand Decision and click Decision tree.
Click the pyGetAccessGroupForRobotByWorkGroup in the decision table in the Pega-Robot-Register class and save it to your application ruleset.
Add the access groups and their corresponding work groups to the decision table. For more information about decision tables, see About Decision Tables.
Click Save to save the rule form.