Skip to main content

Creating and setting application variables

2 Tasks

15 mins

Visible to: All users
Beginner Pega Platform 8.7 Data Integration English
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Scenario

GoGoRoad stakeholders want a quick way to control the application behavior of the Assistance Request case type that uses a custom condition to skip the Enter payment information process for customers with a Gold membership. The business expects that the name of the membership may change in the future, and they want to control the behavior without modifying any code. To achieve this requirement, create a Configuration set and Configuration setting for the Gold membership and update the process to use the new settings.

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

Role User name Password
Application Developer author@gogoroad 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 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 to open the Configuration sets dialog box. 
  3. Click Add to add a new configuration set.
  4. In the Configuration set name field, enter PaidMembership.
  5. Click OK and close the dialog box.
  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 Gold.
    2. In the Description field, enter Gold membership coverage level.
    3. In the Configuration set list, select PaidMembership
    4. In the Configuration scope list, select Case type and Assistance Request.
    5. Confirm that the Type field is set Text (single line).
    6. Confirm that the Default value list is set to Constant.
    7. In the Default value field, enter Gold.
      Create configuration
  8. Click Submit to close the dialog box.

2 Update the start conditions of the Enter payment information process

  1. In the navigation pane of App Studio, click Case types to open the Case Type Explorer.
  2. Click the Assistance Request case type to open the Assistance Request case life cycle.
  3. On the Assistance Request case type, in the Create stage, click the Enter payment information process.
  4. In the configuration pane on the right, in the Start process (otherwise skip) list, click the Gear icon to display the Configure condition dialog box.
    Configure Enter payment information process
  5. In the Configure condition dialog box, complete the following details:
    1. In the Field list, select Configurations > PaidMembership > Gold (PaidMembership) to use the configuration.
    2. Confirm that the Comparator list is set to is not equal to.
    3. To the right of the Value field, click the Gear icon to display select values.
    4. In the Type list, select Another field.
    5. In the Value list, select Fields > Customer ID > Coverage level.
      select values dialog box
    6. Click Submit to close the Select values dialog box.
      Configure condition dialog box
  6. Click Submit to close the Configure condition dialog box.
  7. Click Save to save the Assistance Request case type.

Confirm your work

  1. On the Assistance Request case type, click Save and run to begin a new Assistance Request case. 
  2. Advance the case to the Enter customer information step.
  3. In the Enter customer information form, select [email protected] as the Account ID.
    Note: This Account ID is associated with the Gold coverage.
  4. Advance the case to the Select service provider step.
  5. Click on the Service stage to confirm that the Enter payment information process is skipped.
    Confirm Enter payment information process is skipped

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?

100% found this content useful

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