Skip to main content

Sending emails during Case processing

Archived

1 Task

15 mins

Visible to: All users
Beginner Pega Platform 8.6 Case Management English
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.

Scenario

The mayor of MyTown wants users to receive email updates when the reported issue is resolved. 

The following table provides the credentials you need to complete the challenge.

Role User name Password
Application Developer author@mytown pega123!

Challenge Walkthrough

Detailed Tasks

1 Configure the Send email step

  1. In the App Studio navigation pane, click Case types > Service Request to display the case life cycle. 
  2. In the Resolution stage, select the Send repair confirmation step to display the configuration pane on the right.
  3. In the configuration pane, from the first Send to drop-down, select Field.
  4. From the second Send to drop-down, select Requestor Email to set the Send to value.
  5. In the Subject field, enter "Your service request has been completed!"
    Note: To display punctuation in text labels and fields such as the email subject line, enclose the text and punctuation in quotes.
  6. Under Message content, click Compose to display the Compose message window.
    Send email dialog
  7. In the rich text editor, enter the following text to compose the email message:

    Hello!

    We have addressed the issue <<.pyID>> that you logged on <<.pxCreateDateTime>>. Thank you for using the MyTown 311 app!

    Office of the Mayor,

    MyTown

    Tip: You can click the Insert property icon to select a property from a list. Select Case ID for .pyID and Create Date/Time for .pxCreateDateTime. If the Insert property icon is not visible, log out and log back in.
    Click insert property to select a property from a list
  8. Click Done to complete the message composition and display a message preview.
  9. Click Save to complete the step configuration.
    Note: The number of configuration issues decreases from 1 to 0 and the configuration issues icon disappears.

Confirm your work

  1. In the Service Request case type, click Save and run to run a new case.
  2. Advance to the Request updates view, entering values for any required fields.
  3. Select the Request updates check box to receive an email notification when the issue is resolved.
  4. In the Requestor email field, enter your email address.
    Request updates view with the Requestor email field filled out
  5. Click Create to submit the service request.
  6. In the To do section of the case, to the right of Schedule repair, click Go to display the Schedule repair view.
  7. Enter values for all required fields, and then click Submit.
  8. In the To do section of the case, to the right of Perform repair, click Go to display the Perform repair view.
  9. Enter values for all required fields, and then click Submit.
  10. In the To do section of the case, to the right of Get Approval, click Go to display the Approval view.
  11. Click Approve to approve the repair and send the email to the requestor.
  12. To the right, expand the Utility pane.
    Expand Utility pane
  13. Under Files & documents, verify that the email is displayed.
    Files & documents section of the Utility pane
    Note: If the email is not immediately displayed in the Utility pane, refresh the case from the Actions menu.
  14. Click Your service request has… to display the email message. 
    Service request email content
  15. Verify the email address matches the email you entered in the Request updates view, and that the content of the email matches the text you entered in the Send email step configuration.
    Note: Pega automatically sets values for .pyID and .pxCreateDateTime when a case starts.


Available in the following missions:

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