Skip to main content

Approving work

1 Task

5 mins

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

Scenario

The MyTown services coordinator wants to review all the repairs performed as a result of a resident service request. If the repair is satisfactory, the case is approved and then resolved. If the repair is unsatisfactory, the case is rejected and returns to the Review stage so that a new repair can be scheduled. Upon returning to the Review stage, the case status is Open.

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

Role User name Password
Application Developer author@mytown pega123!

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 Configure the Review repair step

Note: While the approval step is already created in this challenge instance, you can add an approval step to a process by clicking Step and selecting Approve/Reject.
  1. In the App Studio navigation pane, click Case types > Service Request to display the case life cycle. 
  2. In the case life cycle of the Service Request case type, click the Review repair step to configure the Approve/Reject step. The configuration pane is displayed on the right. 
  3. In the General tab, confirm the Approve/Reject step is routed to servicecoordinator@mytown
    Routing an Approve/Reject step to a specific user
  4. In the Flow tab, confirm that the If APPROVED then list is set to Continue.
  5. Set the If REJECTED then list to Change stage to return the case to a different stage if the repair is rejected.
  6. Confirm that the To list is set to Review to return the case to the Review stage if the repair is rejected.
  7. In the Set status field, enter or select Open to change the case status if the repair is rejected. 

    Flow tab for the Review repair Approve/Reject step
  8. In the Approval Rejection alternate stage, hover over the stage to reveal the More icon and click the dots to display the stage options.
  9. Click Delete stage to remove the alternate path from the case life cycle. 
    delete an alternative stage
  10. Click Save to complete the configuration.

Confirm your work

  1. Click Save and run to run a new instance of the case type. The system displays a new Service Request case.
  2. In the Create view, complete any required fields before advancing the case.
  3. Advance the case to the Resolution stage.
  4. In the Perform repair step, complete any required fields and click Submit to proceed to the next step.
  5. In the Review repair step, click Reject to return to the Review stage.
    Review repair stage approve/reject buttons view
  6. In the To do section of the case, to the right of Schedule repair, click Go to display the Schedule repair view. Ensure the case status is OPEN
    Service Request case has the status of Open when returned to the Review stage
  7. Complete any required fields and click Submit to proceed to the Perform repair step.
  8. In the To do section of the case, to the right of Perform repair, click Go to display the Perform repair view.
  9. Complete any required fields and click Submit to proceed to the next step.
    Note: In the Resolution stage, if you see Empty Work Item Handle, click Actions > Refresh to refresh the case.
  10. In the To do section of the case, to the right of Get Approval, click Go to display the Approval view.
  11. In the Approval step, click Approve to accept the repair. Verify the case status is RESOLVED-COMPLETED
    Service Request case has a status of Resolved-Competed after approved

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