Skip to main content

 –

Configuring the email bot to display a user name in emails

Suggest edit Updated on September 7, 2021

Modify your system to display a user name in a specific format by default in emails that customer service representatives (CSRs) process in the Email Manager and Case Manager portals for your application. As a result, you fine tune the user experience of these portals to the requirements of your organization, making the system both easier to use and more user friendly.

For example, you can configure the system to display the user's first and last name, separated by a period, in a reply.

To customize your system to display a user name in a specific format in emails, you configure the pyGetDisplayNameForEmailAddress data transform rule for the Work-Channel-Triage class. By default, the system displays the user's name in the reply in the following format: LastName.FirstName.

  1. Switch to Dev Studio.
  2. In the navigation pane of Dev Studio, click App, and then search for the Work-Channel-Triage class.
  3. Expand the Data ModelData Transform section for the Work-Channel-Triage class, and then click pyGetDisplayNameForEmailAddress.
  4. In the pyGetDisplayNameForEmailAddress data transform rule, configure the actions and target parameters to format the display name or email address in emails.
    For more information, see Configuring a setting.
    For example: Edit the data transform rule to configure emails to always display a user name in the following format: <LastName>, <FirstName>.
  5. Save your changes by performing one of the following actions:
    • To save the rule that belongs to a locked ruleset to an isolated sandbox so that you can test your changes, click Private edit.

      For more information, see Performing a private edit.

    • To save the rule to a ruleset, click Save as.
  6. Switch back to App Studio.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us