Skip to main content

Designing a Case Life Cycle

8 Tasks

30 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 mayor of MyTown wants to increase resident engagement and improve the town’s responsiveness to issues raised by residents.

To achieve this goal, the services coordinator wants residents to submit service requests that available city services can resolve. To begin the process, the mayor and the services coordinator have outlined a workflow for submitting, reviewing, and resolving service requests and have created the Service Request case type to manage such requests.

In MLP1, residents create service requests from the user portal, service coordinators review the requests from the user portal, and department managers and service coordinators resolve the requests from the user portal. In MLP2, residents, services coordinators, and department managers have the option to interact with service request cases from the mobile channel.

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 Hide items from the case life cycle view

  1. In the App Studio navigation pane, click Case types > Service Request to display the Service Request case life cycle.
  2. Under Case life cycle, click the View: Steps, Personas, Data, Releases (All) menu to display a list of check box items.
    Steps, Personas, Data, Releases list on the case life cycle
    Note: As a best practice, first define the case life cycle at a high level to help you determine the personas, channels, and data objects. Hide Personas and Data for now.
  3. Clear the Personas check box to hide the Personas & Channels section in the case life cycle.
  4. Clear the Data check box to hide the Data & Interfaces section in the case life cycle and automatically clear the Releases check box.
  5. Click outside the menu to hide the View: Steps, Personas, Data, Releases menu.

2 Add the Review and Resolution stages

  1. To the right of the Create stage, click Stage to add a second stage.
    Add a stage to the case life cycle
  2. In the text box that is displayed, enter Review to add the second stage name and display the contextual property pane on the right.
  3. In the General tab of the contextual property pane, select Automatically move to next stage to enable the case to advance automatically when the Review stage is complete.
    stage transitions
  4. To the right of the Review stage, click Stage to add a third stage.
  5. In the text box that is displayed, enter Resolution to add the third stage name and display the contextual property pane on the right.
  6. In the General tab of the contextual property pane, select Resolve the case to resolve the case automatically when the Resolution stage is complete.

3 Build the Create stage

  1. On the Workflow tab, in the Create stage, in the Create process, hover over the Create step, and then click Delete to delete the Create step. 
    Delete the Create step
  2. Click Form Step to add a step to the multi-step form.
  3. In the field that is displayed, enter Report problem.
  4. Click Form Step to add a step to the multi-step form.
  5. In the field that is displayed, enter Identify location.
  6. Click Form Step to add a step to the multi-step form.
  7. In the field that is displayed, enter Request updates.
  8. Click the Create process to display the contextual property pane on the right.
  9. In the contextual property pane, under Horizontal navigation, click Change to select the navigation template.
    Multi-step form configuration pane with option to change navigation template
  10. In the Select a template window, click Vertical navigation to display the navigation menu vertically.

4 Build the Review stage

  1. Under the Review stage, hover over Process, and then click Step to choose a step type.
  2. Click Collect information to add a step that collects user input.
  3. In the Collect information field, enter Schedule repair to name the step.
  4. Click the Review process and enter Review submission to replace the process label.
    Note: When a new process is created, Pega Platform™ automatically assigns the process name based on the stage name. You can change the default process name after creating the first step in that process.
    Rename the review submission process

5 Build the Resolution stage

  1. In the Resolution stage, hover over Process, and then click Step to choose a step type.
  2. Click Collect information to add a step that collects user input.
  3. In the Collect information field, enter Perform repair to name the step.
  4. Click the Resolution process and enter Resolve issue to replace the process label.
  5. Click Step > Approve/Reject to add a decisioning task to display an Approve/Reject step under Perform repair and add an alternate stage to the case life cycle.
    Add an Approve/Reject step
  6. In the Approve/Reject field, enter Review repair to name the step.
  7. Click Step to add the third step to the Resolution stage.
  8. Click More to display three step type categories: Processes, User actions, and Automations.
  9. Click Automations to display steps that are automatically performed or processed by the system.
    Add an automation step
  10. Click Send email > Select to add a step that automatically sends preconfigured emails.
    Select send email automation step
  11. In the Send email field, enter Send repair confirmation to name the step.
  12. In the upper right, click Save. The Service Request case life cycle is displayed with the stages and steps created.
    Service Request case life cycle
  13. On the case type navigation bar, in the upper-right, click the configuration issues icon to display the Draft process warnings dialog box.
    Configuration issues
    Note: The dialog displays a warning for each step with an incomplete configuration in the workflow. The number of warnings varies as you configure the case life cycle. Disregard the warnings, as these issues are addressed in subsequent challenges.
  14. Click Close modal to return to the case life cycle.
    Draft process warnings modal with the Close modal icon highlighted in the right-hand corner

6 Identify the personas and channels for MLP 1

  1. In the upper-left corner of the case life cycle, click the View: Steps menu to display a list of check box items.
  2. Select the Personas and Releases check boxes to display the Personas & Channels section in the case life cycle.
  3. In the Personas & Channels section, in the Create stage, click Persona > New persona to display the New persona dialog box.
    Add a new persona from the case life cycle
  4. In the Persona name field, enter Resident.
  5. Click Submit to dismiss the New persona dialog box and display the Resident persona and User Portal channel, which is added by default.
  6. Click the User Portal channel to display the configuration pane on the right.
  7. In the configuration pane, in the Additional details section, click the Release list, and then click MLP 1. The MLP 1 tag is displayed on the User Portal channel in the Case Designer.
    Configure release for user portal
  8. Repeat steps 3-7 to add a new persona named Services coordinator to the Review stage and tag the User Portal with MLP 1.
  9. In the Resolution stage, click Persona > Manager to add the Manager persona.
  10. Repeat steps 6-7 to tag the Manager User Portal channel with MLP 1.
  11. In the Resolution stage, click Persona > Services coordinator to add the Services coordinator persona.
  12. Repeat steps 6-7 to tag the Services coordinator User Portal channel with MLP 1.
    Personas for MLP1 added

7 Identify the personas and channels for MLP 2

  1. In the Create stage, in the Resident persona, click Channel > Mobile to add the mobile channel to the Resident persona.
  2. With the User Mobile App channel selected, in the configuration pane, in the Additional details section, click the Release list, and then click MLP 2.
  3. Repeat steps 1-2 to add and tag the mobile channel for each persona with MLP 2.
    Personas and channels for MLP 2 added to the case life cycle

8 Identify the data objects for MLP 1

  1. In the upper-left corner of the case life cycle, click the View: Steps, Personas, Releases (All) menu to display a list of check box items.
  2. In the list, select the Data check box to display the Data & Interfaces section in the case life cycle.
  3. In the Data & Interfaces section, in the Create stage, click Data > Data object > New data object to display the New data object dialog box.
    Add a new data object to the case life cycle
  4. In the Name field, enter Request type.
  5. Click Submit to dismiss the New data object dialog box and display the Request type data object and Pega system of record, which is added by default.
  6. Click Pega to display the configuration pane on the right.
  7. In the configuration pane, in the Additional details section, click the Release list, and then click MLP 1.
    Configuration pane for the Pega SOR with Configure release icon highlighted
  8. Repeat steps 3-7 to add the Submitter information and Previous issues at this location data objects to the Create stage with the MLP 1 tag.
    Data objects added to the Create stage with MLP 1 tagged

Confirm your work

  1. On the Workflow tab, in the upper right, click Save and run to save changes and create a new Service Request case type instance.
  2. In the Report problem view, click No, advance the case to proceed to the next view. 
    Note: Views in the Create process are displayed as a modal.
    Report problem view
    Note: App Studio prompts you to configure views for each step in the case life cycle because you have not yet configured views. Disregard the message.
  3. On the Identify location step, click No, advance the case.
  4. On the Request updates step, click No, advance the case.
  5. On the Schedule repair view, click No, advance the case.
  6. On the Perform repair view, click No, advance the case.
  7. On the Approval step, click Approve to complete the case.
    approval step at runtime

This Challenge is to practice what you learned in the following Modules:


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?

61% 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