Skip to main content

Creating and setting application variables


2 Tasks

15 mins

Visible to: All users
Intermediate Pega Platform 8.6 Data Integration English
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.


The Candidate case type assigns a case to the RecruitingWB work queue for final management approval. Hiring some positions can become a high priority, and the business would like to expedite approvals for priority positions. The business needs to specify a high-priority position and route the approval for these positions to the PriorityPositionWB work queue. The position priority should be configurable without application code updates.

Create a Configuration set and Configuration setting for designating priority position and update the flow to use the new settings for routing candidates.

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

Role User name Password
Senior System Architect SSA@TGB rules
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.

Challenge Walkthrough

Detailed Tasks

1 Create Configuration set and Configuration setting

  1. In the navigation pane of App Studio, click Settings > Configurations to open the Configurations landing page.
  2. On the Configurations landing page, click Manage configuration sets
  3. Click Add.
  4. In the Configuration set name field, enter HRProcessing.
  5. Click OK and close the modal.
  6. On the Configurations landing page, click Add Configuration to open the Create Configuration dialog box.
  7. In the Create Configuration dialog box, complete the following details:
    1. In the Name field, enter PriorityPosition.
    2. In the Description field, enter Priority hiring position.
    3. In the Configuration set list, select HRProcessing
    4. In the Configuration scope lists, select Case type and Candidate.
    5. In the Type field, enter Text (single line).
    6. In the Default value list, select Constant.
    7. In the Default value field, enter REQ-007
      Create configuration
  8. Click Submit to close the dialog box.

2 Update routing for the Manager Approval step

  1. On the Candidate case type, click the Manager Approval step.
  2. In the configuration pane on the right, in the Route to list, select Use business logic.
  3. To the right of the Route to list, click Configure business logic.
    Routing business logic
  4. In the Business logic dialog box, complete the following details:
    1. In the Route work based on these conditions section, in the Route to list, select Work queue.
    2. In the Value field, enter PriorityPositionWB.
    3. In the Field list, select Configurations > HRProcessing > PriorityPosition (HRProcessing).
    4. In the Comparator list, select is equal to.
    5. In the Value field, enter .PositionAppliedFor.
    6. In the otherwise section, in the Route to field, select Work queue.
    7. In the Value field, enter RecruitingWB.
      Routing Business Logic Condition Builder
  5. Click Submit to close the Business logic dialog box.
  6. Click Save to update the routing for the Manager Approval step.

Confirm your work

  1. Click Save and run to begin a new Candidate case.
  2. On the Collect Personal Details form, in the Position applied for list, select Database Administrator.
  3. Advance the case to the Offer stage.
  4. On the Actions menu, select View history.
  5. Verify that the assignment is routed to the PriorityPositionWB work queue.

Available in the following mission:

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