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.
Note: For more information on creating the forms associated with each Collect information Step, see the topic Collecting data.
Send email
The Send email Step is a type of Automation Step in Pega Platform.
Note: An Automation Step is a Step that adds a preconfigured, automatic process to your Case Type. Example of Automation Steps include Send email, Change to a stage, Create PDF, and Search duplicate cases.
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.
Note: For more information on the process of defining the parameters of the Send email Step, see the topic Sending automated emails.
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.
Note: For more information on the process of defining the behavior of each Approve/Reject Step, see the topic Designing an approval process.
Additional Steps
Pega Platform offers many additional Steps beyond the three Ren uses.
Note: For more information on the different steps that are available in Pega Platform, see Step types.
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:
Note: The example application in this mission is built on Pega's new view-based architecture Constellation (previously referred to as Cosmos React). For more information about Constellation, see Constellation UI. For an example application built using Pega's Traditional UI architecture (previously referred to as Theme Cosmos), see the Low-Code Maker version 8.7 mission.
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.
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:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?