Salesforce Email-to-Case uses a system-generated thread ID to associate inbound reply emails with existing cases. This thread ID is embedded in the email subject and body by default.
Some organizations attempt to customize the Email-to-Case thread ID using formulas, custom fields, or third-party tools. This article explains Salesforce's position on custom thread IDs and the risks involved with customizing them.
Salesforce does not support the use of compound custom thread IDs in Email-to-Case. Custom thread IDs that are composed from formulas or custom fields cannot be accommodated when Salesforce makes application-side changes to the thread ID processing logic.
The Email-to-Case thread ID is processed by Salesforce's routing engine to match inbound emails to the correct case. When a custom thread ID is used, the routing engine may fail to match the email if:
Use the out-of-the-box Salesforce-generated thread ID. The system thread ID is reliable, maintained across platform releases, and fully supported by Salesforce Support.
If your organization requires a custom identifier in emails for tracking purposes, add it as a separate custom field or in the email body, but do not replace the system thread ID.
If you are experiencing thread ID matching failures after a Salesforce release, contact Salesforce Support and reference this article.
000387426

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.