# Service case emails not shown in the email interaction thread after configuring comprehensive tracking (CS 25, Constellation)

**URL:** <https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124>\
**Category:** User Experience\
**Created:** [November 21, 2026, 12:57pm UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124 "2026-11-21T12:57:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunkumar\_Velmurugan](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Arunkumar\_Velmurugan](https://forums.pega.com/u/Arunkumar_Velmurugan)\
**Post date:** [November 21, 2026, 12:57pm UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/1 "2026-11-21T12:57:37Z")

</div>

Environment

- Pega Infinity 25.1.3, Customer Service 25 (Constellation)
- Implementation application built on CustomerService-Constellation

Scenario

1. An inbound email creates an Email Triage case and an email Interaction (Email Bot / Email channel).
2. The CSR manually creates a service case from the email interaction, using Add case.
3. A Send email step in the service case sends an acknowledgement email to the customer.

We want this acknowledgement to show in the email interaction’s thread, and the customer’s reply to it to join the same thread.

Configuration done (following “Configuring comprehensive tracking for Service Case emails”)

- Overrode the When rule `pyCanTrackServiceCaseEmails` in our application ruleset so it returns true. Tracer confirms it evaluates to true.
- Send email step: Send a common email to all recipients is ticked, with the recipient set to the customer’s email field.
- The Email channel and the Send email step use the same email account for sending and receiving.

Result

- The email is sent and received by the customer.
- It shows only as a Correspondence attachment in the service case’s Utilities panel.
- It does not appear in the email thread of the email interaction or the service case.

Questions  
Is any configuration needed beyond the When rule and the Send email setting for service cases created manually from an email interaction?  
What is the recommended way to send this email so that comprehensive tracking works?

---

<div class="post-metadata">

**Author:** ![Arunkumar\_Velmurugan](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Arunkumar\_Velmurugan](https://forums.pega.com/u/Arunkumar_Velmurugan)\
**Post date:** [November 23, 2026, 12:12pm UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/2 "2026-11-23T12:12:05Z")

</div>

@PraveenMankala @VikasRaidhan Could you please check this issue? I have been troubleshooting comprehensive email tracking for service cases created from an email interaction in CS 25 (Constellation) and would appreciate any suggestions. Thanks

---

<div class="post-metadata">

**Author:** ![Tharun\_K\_T](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/tharun_k_t/32/23632_2.png) [@Tharun\_K\_T](https://forums.pega.com/u/Tharun_K_T)\
**Post date:** [November 24, 2026, 3:00am UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/3 "2026-11-24T03:00:35Z")

</div>

@Arunkumar_Velmurugan Out of curiosity, Did you migrated CS from traditional?

---

<div class="post-metadata">

**Author:** ![PraveenMankala](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@PraveenMankala](https://forums.pega.com/u/PraveenMankala)\
**Post date:** [November 25, 2026, 4:04am UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/4 "2026-11-25T04:04:57Z")

</div>

Hello @Arunkumar_Velmurugan,

When we tested the same use case in our lab environment, it functioned as expected. Please refer to the attached video for reference.

Could you please refresh the browser and verify the use case again? Specifically, please check whether the email thread loads correctly after the refresh. This will help us determine whether the behavior is related to the refresh or if further investigation is required.

If the issue persists, please share the **Tracer output** captured while reproducing the issue for further analysis.

Thank you.

---

<div class="post-metadata">

**Author:** ![VikasRaidhan](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/vikasraidhan/32/23572_2.png) [@VikasRaidhan](https://forums.pega.com/u/VikasRaidhan)\
**Post date:** [November 25, 2026, 6:10am UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/5 "2026-11-25T06:10:44Z")

</div>

@sandd1 can you check this? The configuration seems correct. I think what could be off is the email account being used. The default email account may not be the one associated with email channel.

---

<div class="post-metadata">

**Author:** ![sandd1](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sandd1](https://forums.pega.com/u/sandd1)\
**Post date:** [November 25, 2026, 8:32am UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/6 "2026-11-25T08:32:58Z")

</div>

**[Arunkumar Velmurugan](https://forums.pega.com/u/arunkumar_velmurugan)** Could you please provide the trace for this issue?

---

<div class="post-metadata">

**Author:** ![sandd1](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sandd1](https://forums.pega.com/u/sandd1)\
**Post date:** [November 25, 2026, 4:11pm UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/7 "2026-11-25T16:11:56Z")

</div>

@Arunkumar_Velmurugan  
**One question:** After refreshing the browser, are the emails sent from send email smart shape displayed in the email interaction thread?

Also, in the trace provided, I noticed that `pyCanTrackServiceCaseEmails` returns **false** at one point and **true** at another. Is this behavior expected, or is there a specific reason for the change in value?

---

<div class="post-metadata">

**Author:** ![Arunkumar\_Velmurugan](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@Arunkumar\_Velmurugan](https://forums.pega.com/u/Arunkumar_Velmurugan)\
**Post date:** [November 25, 2026, 5:41pm UTC](https://forums.pega.com/t/service-case-emails-not-shown-in-the-email-interaction-thread-after-configuring-comprehensive-tracking-cs-25-constellation/14124/8 "2026-11-25T17:41:07Z")

</div>

Hi @PraveenMankala@VikasRaidhan @sandd1 and @Tharun_K_T ,

Thank you for your responses and for reviewing the configuration.

I have made a few changes to the flow design, and the issue is now resolved. However, I would like to share some observations from my troubleshooting and understand the underlying reason for this behaviour.

**Scenario 1: Send Email shape before Assignment**

Initially, my Service Case flow had the Send Email (acknowledgement) shape first, followed by an Assignment shape.

With this configuration, comprehensive email tracking did not work. In Tracer, `D_ChannelHistory` was called with `ObjectKey:"null"`, and `.pxEmailCaseKey` was always blank. As a result, `pyTrackEmails` skipped the tracking path; there was no exception.

**Scenario 2: Separate processes within the Service Case**

I then split the flow into two processes:

- Process 1: an Assignment to collect the required information.
- Process 2: send the acknowledgement email. This process starts automatically when Process 1 completes.

`D_ChannelHistory` now loaded with the correct key and returned 1 row, but tracking still failed. The following exception occurred, and the case moved to the Problem flow:

```auto
Exception caught while evaluating when
Encountered an error while executing a Scalar value query for Scalar, .pxEmailCaseKey,
on page 'pyWorkPage' of type 'Booking-INSCMP-Work-Service-Complaints'
  at pyTrackEmails step3 ← SendSimpleEmail step24 ← pzSendEmail ← AckToCustomer
  ← pzStartStageFlow ← pyDefault ← pzOnProcessEnd ← CompleteAssignment
Caused by: java.lang.ClassCastException:
  com.pega.platform.clipboard.adapters.internal.LegacyPageAdapter cannot be cast to
  com.pega.pegarules.data.internal.clipboard.ClipboardPageBase
  at ClipboardPageBase.getMessagesAll
  at PropertyDataPageWrapper.populateDataFromPage (auto-populate of Work-.cxChannelHistory)
  at pxGetValueInPageListWithNorm (Declare Expression .pxEmailCaseKey)

```

The same exception occurred with Tracer on and off. It also appeared in the logs on the Constellation view refresh for that case.

**Scenario 3: Assignment followed by Send Email in a single process**

Finally, I configured a single process with the Assignment shape first, followed by the Send Email shape. With this configuration, email tracking worked, and the sent email appeared in the Email Interaction thread as expected.

**My questions**

1. Why does the sequence of the Assignment and Send Email shapes, or splitting them into different processes, affect the value of `pxEmailCaseKey` and the comprehensive email tracking behaviour?
2. Is there a specific context, parameter, or case association (for example, the Channel History record) that is established once the Assignment is executed and that `pyTrackEmails` depends on? If so, what is the recommended way to send a tracked acknowledgement immediately after case creation?
3. Is the `ClassCastException` in Scenario 2 a known issue when a process is started via `pzOnProcessEnd`/`pzStartStageFlow`? I noticed that `Work-.cxChannelHistory` resolves from PegaCS-Channel-Constellation 08-23-01, while `D_ChannelHistory` and `pyTrackEmails` resolve from 08-25-01.

I would appreciate understanding the underlying mechanism so that I can design the flow correctly, rather than relying solely on this particular sequence of shapes. I’m happy to share the full Tracer and log files if helpful.

Thanks again for your support.
