Custom Acknowledgement Email with Business Case ID Instead of Email Triage ID

Hi Team,

We have a requirement in Pega Infinity 25.1.4 where an Email Channel receives incoming emails and creates both an Email Triage case and a corresponding business case.

The out-of-the-box acknowledgment email is sent successfully; however, it currently includes the Email Triage Case ID (for example, ET-12345). Our business requirement is to send a custom acknowledgment email that contains the business case ID (for example, FC-12345) instead.

Current Flow

  1. Email received through the Email Channel.
  2. Email Triage case is created.
  3. Business case is created from the Email Triage case.
  4. OOTB acknowledgment email is sent containing the Email Triage Case ID.

Expected Flow

  1. Email received through the Email Channel.
  2. Email Triage case is created.
  3. Business case is created.
  4. Acknowledgment email is sent containing:
    • The Business Case ID instead of the Email Triage Case ID.
    • A custom acknowledgment message defined by the business.

Questions

  1. Has anyone implemented a similar requirement in Pega Infinity 25.1.x?
  2. Is there a supported way to configure the Email Channel acknowledgment email to reference the business case ID instead of the Email Triage Case ID?
  3. Can the out-of-the-box acknowledgment be delayed until after the business case has been created?
  4. Is there a supported mechanism to suppress or disable the default Email Channel acknowledgment email?
  5. Would the recommended approach be to disable the OOTB acknowledgment and send a custom email once the business case is successfully created?

Our goal is to provide customers with a meaningful reference number that can be used for future communications, rather than the intermediate Email Triage case ID.

Any guidance, best practices, or implementation recommendations would be greatly appreciated.

Thanks in advance!

@Vinod_Kuncham , you can customize one of the pyEmailAckTemplate_* templates to send the acknowledgement text required by your business. This customization is supported and documented here: Pegasystems Documentation.

Since an Email Triage case can act as a wrapper around one or more service cases, OOTB the acknowledgement uses the ET- case ID. The acknowledgement templates are configured on your Email Service > Response tab.

If you want to send the service case ID instead, my recommendation depends on how many service cases can be created from a single Email Triage case:

  1. One email creates one service case

    You can customize pyEmailAckBody to include the service case ID instead of the ET case ID.

    In this context, pyWorkPage is the Email Triage case. You should be able to retrieve the associated service case from the Link-Association-RelatedWork instances for that ET case. D_pxGetRelatedWork can be used to fetch the related work.

  2. One email can create multiple service cases

    There are two possibilities:

    • Send all service case IDs in a single acknowledgement: Use the same approach as in (1) above and include the relevant service case IDs returned from the related-work list.
    • Send a separate acknowledgement for each service case: Remove the acknowledgement template configuration from the Response tab of the Email Service and send the acknowledgement from the service case workflow after the case is created. For this approach, make sure you preserve the email thread identifier when sending the custom email. Otherwise, subsequent customer replies may not be correlated back to the same Email Triage conversation.

Hope this clarifies the options.

Hi @VikasRaidhan ,
Thank you for taking the time to provide a solution. It worked, and I was able to change the reference from the ET Case ID to the Business Case ID. I initially thought it would require several configuration changes, but it turned out to be just two simple steps. The change worked perfectly. Thanks again for your help!