Adding Stages and Steps
In a Pega Platform™ application, the Steps in a business process are grouped into Stages. Ren, the graphic designer developing a Pega Platform application for his team, defined four Stages for his ideal process flow: Submission, Processing, Verification, and Delivery.
Ren adds the four Stages to his Content Request Case Type.
Adding Stages
When a new Case Type is created, the system automatically adds a Create Stage to the Case Type. The Create Stage collects the information that is necessary to initiate a new case.
In the application that Ren builds, the Stage name Create is updated to Submission to better reflect the ideal process flow.
Ren adds a second Stage, Processing, by performing the following steps:
- In the navigation pane of App Studio, click Case typesContent Request.
- In the case working area, on the Workflow tab, click +Stage.
- In the text box for the Stage, enter Processing.
- In the contextual property pane on the right, in the Set case status on stage entry field, enter Pending-Processing.
- Click Save.
Ren repeats steps 1-3 to add the Verification and Delivery Stages.
Adding Steps
Steps are defined as user actions or automated actions. Each Stage consists of one or more Steps.
For example, the Create Stage comes with a preconfigured Create Step.
As seen in the following figure, the green clipboard icon on the left of the Create Step identifies it as a Collect information Step:
Ren's application requires three types of Steps:
- Collect information
- Send email
- Approve/Reject
Collect information
A Collect information Step creates a form in the user interface in which users can enter information.
In Ren's application, there are two Collect information Steps.
First, in the Create Stage, the requester completes a form that is designed to initiate a Creative Content Request case. This form gathers information such as the requester's name, email address, the type of content needed (video, brochure, or slide deck), and the details of the request.
In the Processing Stage, the Creative Content team member responsible for completing the requested work completes a form with any relevant notes about the project and includes the completed project, added as an attachment.
Send email
The Send email Step is a type of Automation Step in Pega Platform.
Adding a Send email Step sends an automated email to a specific user at a pre-determined point in the business process. Send email Steps are used to update relevant parties on the status of a Case.
In Ren's application, he'll add a single Send email Step which will send an email notification to the requestor to confirm receipt of the request.
Approve/Reject
An Approve/Reject Step creates a place in the user interface where a specific user or group of users can approve or reject a project or request.
Ren's application has two Approve/Reject Steps: one for supervisor Gab's approval, and one for the requester's approval.
Additionally, Approve/Reject Steps can send an automated email or text notification to the approver. The approver can then approve or reject the request directly from the email or mobile device without logging into the system.
Additional Steps
Pega Platform offers many additional Steps beyond the three Ren uses.
Adding Steps to the application
Next, Ren manually adds the Steps that are associated with the remaining Stages of his application: Processing, Verification, and Delivery.
Referencing his ideal process flow, Ren adds Steps for Send confirmation and Submit content to the Processing Stage.
The Send confirmation Step involves sending a confirmation email to the requester. Sending an email is an example of an Automation Step that uses Pega Platform tools.
Ren adds the Send confirmation Step to the Processing Stage by performing the following steps:
- In the Processing Stage, hover over the area labeled Process.
- Click Step MoreAutomationsSend email.
- Click .
- In the Send email field, enter Send confirmation.
- Click .
Ren follows similar steps to add a Collect information step to the Processing stage, and Approve/Reject steps to both the Verification and Delivery stages.
Once the steps have been added to each of the four stages, Ren's Content Request Case Type appears as reflected in the following figure:
The following video shows Ren's process for adding Stages and Steps to his application:
Check your knowledge with the following interaction:
In your environment
In your own Pega environment, create a Case Type and add the corresponding Stages and Steps. You can duplicate the Create Request Case Type that Ren creates or create a Case Type that details the Stages and steps of one of your own business processes.
This Topic is available in the following Module:
Want to help us improve this content?