Skipping a process based on business context
Roadside assistance requests are covered for customers who have opted for the higher membership coverage level. Configure the Enter payment information and Invoice customer processes to start when the customer coverage level is not a Gold membership.
Note: The framework of this challenge uses the Constellation architecture of Pega Platform™. To practice this challenge on the Traditional UI architecture, see the Skipping a process based on business context version 8.8 challenge.
The following table provides the credentials you need to complete the challenge.
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.
1 Add start conditions to the Enter payment information and Invoice customer Processes
- In the Pega instance for the challenge, enter the following credentials:
- In the User name field, enter author@gogoroad.
- In the Password field, enter pega123!.
- In the App Studio navigation pane, click Case Types > Assistance Request to open the Assistance Request Case Life Cycle.
- In the Create Stage, click the Enter payment information Process.
- In the contextual properties pane on the right, in the Start process (otherwise skip) list, select Custom condition to display a Gear icon to the right of the drop-down.
- Click the Gear icon to display the Configure condition dialog box.
- In the Configure condition dialog box, in the Field list, select Fields > Customer ID > Coverage level.
Note: You can search for the Coverage level field using the search field or by clicking Fields > Customer ID to display the list of fields in the Customer data object.
- In the Comparator list, select is not equal to.
- In the Value field, enter Gold to test whether the customer has selected the Gold coverage level.
- Click Submit to complete the configuration of the condition and return to the Case Life Cycle.
- On the Resolution Stage, click the Invoice customer Process.
- Repeat steps 4-9 to add a custom condition to the Invoice customer Process that starts the Process only if the customer has not selected the Gold coverage level.
- Click Save to save the changes to the Assistance Request Case Life Cycle.
Confirm your work
- In the Assistance Request Case Type, click Save and run to run a new instance of the Assistance Request Case Type.
- Advance to the Enter customer information View.
- In the Enter customer information View, in the Customer ID field, enter [email protected], which is associated with the Gold coverage level.
- Advance the case past the Identify vehicle View. The Enter payment information Process is skipped.
Tip: You can view where you are in the Case Life Cycle by clicking a Stage heading, and then See full lifecycle to see what step you are in, what steps you completed, and what steps you skipped. In the example below, you are on the Validation stage and skipped the Enter payment information Process.
- In the Approval View, click Approve.
- Advance the case to complete the Service Stage. The case is resolved after the Service Stage is completed.