Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Assigning a task to a robotic work queue

Updated on May 11, 2022

Integrate Pega Robotic Process Automation (RPA) with your cases to define tasks that a virtual machine (VM) can do. As a result, you can reduce the need for human input in your application and resolve cases faster.

Consider the example of a case type for requesting a new credit card. A customer service representative (CSR) needs to pause the call, log in to a system for ordering the printing of a new credit card, then switch to a system for ordering the shipment of the newly created card. These operations might take considerable time and attention from the CSR, and are prone to human error. However, the CSR can assign these tasks to a robotic work queue, providing quicker, more accurate service to the customer.

You assign a task to a robotic work queue by using the Assign to robot queue shape in a process.

For relevant training materials about using RPA, see the Pega Robotic Process Automation module on Pega Academy.

  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.
  2. In the process in which you want to add a robotic assignment, click Add step to the processMoreAutomationsAssign to robot queue, and then click Select.
    For example: The following figure shows the Assign to robot queue step in a case life cycle:
    Assign to robot queue shapes in a stage
    Two Assign to robot queue shapes in a stage of a case life cycle.
  3. In the Step properties pane, on the General tab, in the Route to queue field, enter the name of the work queue from which the VM retrieves assignments.
    Result: The Assign to robot queue shape creates the assignment that the VM retrieves.
  4. In the Run robotic automation field, enter the automation that the virtual machine runs after retrieving the assignment.
  5. Optional: To update the status of a case by synchronizing it with the state of the robotic assignment, click Set case status, and then, in the Set case status dialog box, for each of the assignment states that you want to map to a case status, perform one of the following actions:
    • To select a status that a case enters when a robotic assignment reaches a certain state, press the Down arrow key in the corresponding field.
    • To create a custom status, enter a unique name in the field, and then click the Open rule icon.
    Note: If you do not select a status in the corresponding field, the case keeps its previous state.

    The following predefined robotic assignment states add the capability to automatically update your case status and track its progress in a more granular way:

    Robotic assignment stateDescription
    Assignment is queuedChange case status when a robotic assignment is added to a work queue.
    Note: Work queues are called assignment types in Pega Robot Manager. For more information, see Pega Robot Manager as a control center for your robotic workforce.
    Robotic Automation is in progressChange case status when a robot pulls the assignment and starts working on it.
    Robotic Automation has conflicting resultsChange case status when a robotic assignment is completed but returns data that fails the validations that are specified for the case.
    Robotic Automation failsChange case status when a robotic assignment cannot be completed and fails.
    Robotic Automation has timed outChange case status when a robotic assignment cannot be completed in the threshold time that is specified in the assignment type (work queue).
    For example: The following figure shows an example set of case statuses:
    Case statuses mapped to robotic assignment statuses
    Set case status dialog box with a set of case statuses mapped to robotic assignment scenarios.
  6. Optional: To validate the incoming values after your automation is complete, in the Assignment validation criteria field, select a validation mode:
    ChoicesActions
    Use an existing validation rule
    1. Select Existing validation.
    2. In the list that appears below the Assignment validation criteria field, select a validation rule.
    Note: You can select only a validation rule that is a relevant record. For more information, see Relevant records for rule reuse.
    Use custom validation
    1. Select Custom validation.
    2. Click the Click to configure conditions icon.
    3. In the Configure condition window, specify how your application validates the automation output.
    If the validation fails, the system routes the assignment to the Conflicting Robotic Assignments work queue. If an assignment fails, the system routes the assignment to the Failed Robotic Assignments work queue.
  7. Optional: To apply a goal and deadline to the robotic assignment step, on the Goal & deadline tab, in the Assignment service level field, press the Down arrow key, and then select the name of a service-level agreement.
  8. Close the Robot queue dialog box by clicking Submit.
  9. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us