Skip to main content

Adding optional actions to a workflow for BAs

2 Tasks

10 mins

Visible to: All users
Beginner Pega Platform '23 Case Management Constellation English

Scenario

GoGoRoad wants to assure customers that their assistance requests can be cancelled at any time. Not only does the cancel request functionality provide their customers with flexibility, but it also adds business value for GoGoRoad by preventing the dispatch of services that are no longer needed.

To accommodate this business requirement, the project team uses Pega Platform™'s Optional actions feature. Optional actions complement a Case by providing out-of-sequence actions that do not change the flow of a Process or Case, but help to provide additional information or processing flexibility to the Case Type. Examples of Optional actions include cancelling an active Case, or updating the address of a service request.

User Story

As a GoGoRoad customer service representative (CSR), I want to be able to cancel a service request at any point during a Case so that GoGoRoad does not dispatch service providers that customers no longer need.

Technical notes documented by the System Architect

  • A pre-configured Cancel request Process is added to the Assistance Request Case Type as a case-wide optional action.
  • The Cancel request Process advances the Assistance Request Case to the Cancellation Stage if the user decides to cancel their assistance request.

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

Role User name Password
Business Architect 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 Add the Cancel request process as a case wide action

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter author@gogoroad.
    2. In the Password field, enter pega123!.
  2. In the navigation pane of App Studio, click Case types > Assistance Request to open the Assistance Request Case Type.
  3. In the upper-right corner of the Workflow tab, click Optional actions to display the Optional actions configuration window.
    Highlighting the Optional actions button in the Case Life Cycle designer.
  4. In the Case wide actions section, click Action > More > Processes to display a list of available Processes.
  5. In the list of Processes, click Cancel request > Select to add the Cancel request Process to the list of Case-wide actions.
    The Cancel request optional action.
  6. In the upper-right corner, click Save to apply the changes to the Assistance Request Case Type.

2 Review the Cancellation Stage settings

  1. In the upper-right corner of the window, click Life cycle to return to the Assistance Request Case Life Cycle. 
  2. In the Alternate Stage section, click the Cancellation Stage.
  3. In the contextual properties pane on the right, ensure that:
    • the Resolve the case radio button is selected,
    • the Resolution status is set to Resolved-Withdrawn,
    • the Delete open assignments checkbox is selected.

Confirm your work

  1. In the Assistance Request Case Type, in the upper right, click Save and run to create a new Assistance Request Case.
  2. In the Identify issue Step, select a service type, and then click Next.
  3. In the Identify customer Step, select a customer and then click Next.
  4. In the Assistance Request Case summary panel on the left, click Actions > Cancel request to cancel the Assistance Request Case.
    Cancel request
  5. In the Cancel request Step, select Yes, cancel my request, and then click Submit.
    Yes cancel request
  6. Confirm the Assistance Request Case is updated with a status of Resolved-Withdrawn.
    Resolved withdrawn

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


Available in the following mission:

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