Skip to main content

Routing work to users

2 Tasks

10 mins

Visible to: All users
Beginner Pega Platform 8.8 Case Management Constellation English
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Scenario

Note: The framework of this challenge uses the view-based Constellation architecture of Pega Platform. To practice this challenge on the traditional UI-based architecture Theme Cosmos, see the Routing work to users version 8.7 challenge.

Specific members of the city government perform assignments on service request cases. The services coordinator identifies three assignments that must be routed during case processing: Schedule repair, Review repair, and Perform repair. The Schedule repair and Review repair assignments are routed to the municipal services coordinator. The Perform repair assignment is routed to the appropriate operator based on the department responsible for the reported issue.

The services coordinator provides the following table listing the conditions that determine how to route the Perform repair assignment:

Route to Value Field Comparator Value
Operator parksmgr@mytown Department is equal to "Parks and Recreation"
Operator dpwmgr@mytown Department is equal to "Public Works"
Operator trafficmgr@mytown Department is equal to "Traffic Management"

The following table provides the credentials you need to complete the challenge.

Role User name Password
Application Developer author@mytown pega123!
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Route the Schedule repair and Review repair steps to a specified user

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter author@mytown.
    2. In the Password field, enter pega123!.
  2. Click Case types > Service Request to display the case life cycle. 
  3. Click the Schedule repair step to display the configuration pane on the right.
  4. On the General tab of the configuration pane, in the Route to drop-down, select Specific user.
  5. In the drop-down under Specific user, verify that the value defaults to User name.
  6. In the field under User name, enter or select servicecoordinator@mytown to route the Schedule repair task to the specific user.
    Note: Pressing the Down arrow in this field reveals the list of users available to work in the application.
    Routing configuration for the Schedule repair step.
     
  7. Click the Review repair step to display the configuration pane on the right.
  8. On the General tab, verify that the Route to drop-down defaults to Specific user
  9. In the drop-down under Specific user, verify that the value defaults to User name.
  10. In the field under User name, enter or select servicecoordinator@mytown to route the Review repair task to the specific user.
    Routing the Repair approval step to a specific user.

2 Route the Perform repair step using business logic

  1. Click the Perform repair step to display the configuration pane on the right.
  2. On the General tab of the configuration pane, in the Route to drop-down, select Use business logic.
    Rouing the Perform repair step using business logic.
  3. To the right of the Route to drop-down, click the Gear icon to display the Business logic window.
  4. In the Business logic window, to the right of the 1 label, verify that the Route to drop-down is set to Operator.
    The default state of the business logic configuration overlay for routing.
    Note: The Route to drop-down defaults to Operator. For this exercise, verify that the default remains the same for each condition.
  5. In the Value field, enter or select parksmgr@mytown as the operator.
  6. In the second row, in the Select drop-down, select Fields > Request > Department.
  7. In the Comparator drop-down, verify that the value defaults to is equal to.
    Note: For this exercise, the business logic remains as the default is equal to condition.
  8. In the empty field to the right of the Comparator drop-down, enter Parks and Recreation to set the value to compare in the condition. The first condition is now set to route to parksmgr@mytown when the condition is true.
    Note: You can include quotation marks when you enter the condition value; otherwise, the system adds quotation marks automatically. For example, if you enter Parks and Recreation, the system adds the quotation marks, as shown in the following image:
    Routing logic for the Parks and Recreation department.
    Tip: You can also click the Gear icon to choose from a list of Existing values for the Department field.
  9. Click Add Condition to set the conditions for the dpwmgr@mytown and trafficmgr@mytown operators.
  10. For each condition-operator pairing, repeat steps 4-8 to route the Perform repair assignment to the appropriate operator using business logic:
    Route to Value Field Comparator Value
    Operator dpwmgr@mytown Department is equal to "Public Works"
    Operator trafficmgr@mytown Department is equal to "Traffic Management"
  11. Under Add condition, to the right of otherwise, verify that the Route to drop-down is set to Operator.
  12. To the right of the Route to drop-down, in the Value field, enter or select servicecoordinator@mytown to set the operator for the otherwise condition.
    Completed business logic for the Perform repair step.
  13. Click Submit to save the routing logic.
  14. Click Save.

Confirm your work

Repeat the steps in this section for each type of request to verify that the Perform Repair assignment is routed according to the following table:
Request type Department Department manager Initials
Park maintenance Parks and Recreation parksmgr@mytown PM
Pothole Public Works dpwmgr@mytown DM
Road debris Public Works dpwmgr@mytown DM
Traffic signal Traffic Management trafficmgr@mytown TM
  1. Click Save and run to run a new case.
  2. In the Report problem view, select Traffic signal as the Request type.
  3. Click Next to advance the case.
  4. Click Next to advance the case past the Identify location view.
  5. Click Next to advance the case past the Identify submitter view.
  6. Click Submit to advance the case.
  7. Verify that the case has advanced to the Schedule repair view and is routed to the Municipal Services Coordinator, as indicated by the initials MS.
    Note: Pega Platform™ indicates the user to whom a task is routed by the use of an avatar. By default, the avatar for a user consists of the initials of that user.
    Schedule repair step routed to the Municipal Services Coordinator
    Tip: Click the avatar to display information about the assigned user, including the name of the user.
  8. Click Go to open the Schedule repair view.
  9. Enter a Due date of tomorrow, and click Submit to advance the case.
  10. In the Perform repair view confirm the step is routed to the Traffic Department Manager as indicated by the initials TD.
    Perform Repair step routed to Traffic Department Manager
  11. Click Go to open the Perform repair view.
  12. Click Submit to advance the case.
  13. In the To do section, verify that the case has advanced to the Approve repair step and is routed to the Municipal Services Coordinator, as indicated by the initials MS.
    Get Approval step routed to the Municipal Services Coordinator

This Challenge is to practice what you learned in the following Module:


Available in the following missions:

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice