Creating Alternate Stages
Use Alternate Stages when a Case Type deviates from the Primary Stages associated with the ideal process flow. Alternate Stages are configured below the Approve/Reject Step is added to a Case Type, Pega Platform™ automatically adds an Alternate Stage called Approval Rejection.
section in the Case Life Cycle. When anIn Ren’s Content Request Case Type, the ideal process flow occurs when both the supervisor and requester approve the project. The Case Type deviates from the ideal flow into an alternate flow if either the supervisor or the requester rejects the project during their respective Approve/Reject Steps.
Ren designs an alternate flow to handle rejections, starting with the appropriate routing.
Routing rejections
When Ren first adds the Approve content Step, he notices that Pega Platform™ also adds an Approval Rejection Stage to the Alternate Stage section of his Case Type.
If Gab rejects a project during the Approve content Step, the Case is routed to the Approval Rejection Stage. To accomplish this, Ren completes the following steps:
- Click the Approve content Step to open the contextual property pane.
- At the top of the contextual property pane, click the Flow tab.
- In the section, in the first dropdown list, click .
- In the in the first dropdown list, click . section,
- In the To dropdown list, verify that the Approval Rejection Stage is selected.
- In the Set status field, enter Pending-Revisions.
- Click .
Ren ensures that the same routing is in place for the Approve request Step, with one difference. In the field to Resolved-completed.
section, Ren updates the Set statusWith routing in place, Ren turns his attention to defining the steps associated with the Approval Rejection Stage.
The Approval Rejection stage
If either Gab or the requester rejects a project, the same two actions occur:
- The Creative Content team revises and re-submits the project.
- The project is routed back to Gab for review, via the Verification stage, and the Case continues along with its ideal process flow.
Creating Approval Rejection steps
Ren creates two steps in the Approval Rejection stage to match his business process.
- In the Approval Rejection Stage, click and then click in the selection box that is displayed.
- Update the label Step label to Resubmit content.
- To add a second step, click and in the selection box click .
- In the dialogue that is displayed, open the Automations dropdown list.
- In the Automations dropdown list, select Change to a stage and then click
- Update the label for the Step to Change to Verification.
- Click
Once Ren adds the steps associated with the Approval Rejection Stage, he needs to configure each step.
Configuring Approval Rejection steps
With the steps added to the Approval Rejection Stage, Ren must now configure the steps. For the Resubmit content
step, Ren will add routing using business logic and configure the view using fields created when configuring the views for Submit content, Approve content, and Approve request Steps.
- Click the Resubmit content Step to open the contextual properties pane.
- Select Use business logic as the routing choice. Click the gear icon to the right of the box.
- Create the business logic that routes new content requests to the Operator Eli@abctech when the field Request type is equal to Video, and to Operator Ana@abctech when the field Request type is equal to Brochure, and to Operator Ren's email in all other Cases.
- Click
- In the Resubmit content contextual property pane, click and add the following fields from the Fields list:
- Completed project
- Project notes
- Requester review
- Supervisor review
- For the Completed Project field only, click the Configure icon, and from the Required field dropdown, select Always. Click .
- For the Requester review field, click the Configure icon, and from the Edit mode field dropdown, select Read-only. Click .
- Repeat step 7 for the Supervisor review field.
- Click .
- Click the Change to Verification step.
- In the Change to Verification contextual properties pane, in the Stage drop-down list, select Verification.
- Click .
Ren has completed the flow associated with the Alternate Stage of the Content Request Case Type.
Review the following video to see Ren execute the Steps associated with the alternate process flow for the Content Request Case Type.
Note: The user interface depicted in the videos associated with this mission might differ slightly from your own due to alternate versions of the Pega Platform. This video has no audio and no closed captions.
More on Alternate Stages
Although it was not applicable to Ren’s application, it is possible to resolve or close a Case from the Alternate Stage.
Note: To learn more about Primary and Alternate Stages as they relate to a Case Life Cycle, see Stages in a Case Life Cycle.
Check your knowledge with the following interaction:
In your environment
Determine whether your application has an alternate Process that should be included alongside the ideal process flow. Design the appropriate routing to move the Case from the Primary Stages into the Alternate Stage. Identify the Steps associated with the Alternate Stage and define any associated routing and Views. As always, you can mirror the process Ren follows to define the Alternate Stage operation associated with the Content Request Case Type.
This Topic is available in the following Module:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?