web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

D365 Customer Service : Email sent from one queue to another queue is getting linked to same ticket.

(1) ShareShare
ReportReport
Posted on by

I am facing an issue in Dynamics 365.

Let's say I have 2 queues - Queue1 & Queue2 and have enabled case creation rule on both the queues. Initially, the customer sent an email to Queue1 and converted it into case, and I want to forward this email to Queue2. 

When I forward email FROM Queue1 TO Queue2, it comes back as 'incoming' email to Dynamics through Queue2, but again gets linked to the same old case present in Queue1.  I want that, it should create a new case in Queue2.

I tried a pre-create plugin also to clear regardingobject in an incoming email if the sender is a Dynamics queue and as per traces, code is clearing regardingobectid as well. However, it still gets linked to the same ticket somehow.

Is there anyone who faced the same issue and got a workaround.

Plugin code snippet - registered on Email Pre-create sync.

#region Empty Regarding for Queue sender

TargetEntity = (Entity)PluginContext.InputParameters["Target"];

var sender = TargetEntity["sender"].ToString().ToLowerInvariant();

EntityCollection senderQueue = GetQueue(sender);

if (senderQueue?.Entities != null && senderQueue.Entities.Count != 0)
{
TracingService.Trace("sender is a queue");
TracingService.Trace("updating : TargetEntity['regardingobjectid'] = null to platform");
TargetEntity["regardingobjectid"] = null;
}

I have the same question (0)
  • Suggested answer
    Zaidel Zertuche M Profile Picture
    187 on at

    Hi Sachin Dev Gupta first of all I would like to know what is the email processing service configured for your environment. If the Server side Sync is enable and your are using "Exchange Online" then Dynamics 365 will link the email activity based on the "Exchange ID/Message ID" that is why you will see linked the email activity even if you clear the "regarding" field on the email activity.

    This is expected by design, in that order of ideas you can't use the same email (forwarded) to create a second case in the same organization.

    I probably the best option for you is to work with "Update/Creation Rule" to make the validation that you are checking on the plugin to create a new case when the email has a specific conditions or attributes.

    Automatically create or update records in Customer Service Hub

    hope this can help you, don't forget to mark this as an answer.

  • Paresh Jodhani Profile Picture
    67 on at

    Hi Sachin,

    I am working on exactly same scenario as you did and facing the same problem. Please share solution to this problem if you have already resolved it for you.

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Pallavi Phade Profile Picture

Pallavi Phade 98

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans