Skip to main content

ケース処理中にメールを送信する

2 タスク

20 分

Visible to: All users
初級 プラットフォーム 日本語
バージョンタグがご希望のコンテンツと一致しているかご確認ください。 または、最新バージョンをご利用ください。

シナリオ

MyTownの市長は、報告された問題が解決されたとき、ユーザーにメール通知を送信したいと考えています。

以下の表は、チャレンジに必要なログイン情報をまとめたものです。

ロール ユーザー名 パスワード
アプリケーションデベロッパー author@mytown pega123!

このチャレンジを完了するには、Pegaインスタンスを起動する必要があります。

起動には5分ほどかかることがありますので、しばらくお待ちください。

チャレンジ ウォークスルー

詳細なタスク

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!"
    補足: 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

    ヒント: You can click the Insert property icon to select a property from a list. Select CaseID for .pyID and CreateDate/Time for .pxCreateDateTime
    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.

2 Confirm your work (section not graded)

  1. In the Service Request case type, click Save and Run to run a new case.
  2. In the New: Service Request view, complete the required fields and click Done to record the information and display the next view.
  3. From the step list on the right, click Request updates to display the Request updates view.
    Select Request updates
  4. Select the Request updates check box to receive an email notification when the issue is resolved.
  5. In the Requestor email field, enter your email address.
  6. Click Finish to submit the service request.
  7. Advance the case to the Schedule Repair step, enter values for all required fields, then click Submit.
    ヒント: Use the Actions menu to advance through the case. Click Actions, and then select the next view with required fields. 
    Click Actions and select Schedule repair
  8. Advance the case to the Perform Repair step, enter values for all required fields, then click Submit.
  9. Advance the case to the Approval step, and click Approve to approve the repair and send the email to the requestor.
  10. To the right, under Recent content, verify that the email is displayed.
    Email appears under Recent content
  11. Click Your service request has been com… to display the email message. 
    Sample email output
  12. 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.
    補足: Pega automatically sets values for .pyID and .pxCreateDateTime when a case starts.


このモジュールは、下記のミッションにも含まれています。

If you are having problems with your training, please review the Pega Academy Support FAQs.

このコンテンツは役に立ちましたか?

このコンテンツは 83% のユーザーにとって役に立ちました。

改善できるところはありますか?

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