Skip to main content

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.

The four stages of the Content Request case type: 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:

  1. In the navigation pane of App Studio, click Case types > Content Request.
  2. In the case working area, on the Workflow tab, click +Stage.
  3. In the text box for the Stage, enter Processing.
  4. In the contextual property pane on the right, in the Set case status on stage entry field, enter Pending-Processing.
  5. 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:

A Collect information step is denoted by a green clipboard icon.

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: ProcessingVerification, 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:

  1. In the Processing Stage, hover over the area labeled Process.
  2. Click Step > MoreAutomations > Send email.
  3. Click Select
  4. In the Send email field, enter Send confirmation
  5. Click Save

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 Stages and Steps of the Content Request Case Type

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.

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