A Salesforce instance migration has caused issues with event subscriptions and replay IDs. When a Salesforce instance is migrated, it can result in changes that affect event handling in your MuleSoft application. There was an error observed that says invalid replay ID on the Salesforce side, this is because the Mule application was trying to use a replay ID from the object store, which is no longer valid on the new Salesforce instance. The goal of this article is to outline the appropriate steps for recovering from the error.
As the Mule application attempts to use a replay ID stored in the object store, there are three possible scenarios with the current replay channel listener configuration:
1. The replay option is ONLY_NEW or FROM_REPLAY_ID, and the check box Replay failed events if any or resume from the last replay ID is ticked.
2. The replay option is ALL, and the check box Replay failed events if any or resume from the last replay ID is ticked.
3. The replay option is FROM_LAST_REPLAY_ID, and the check box Replay failed events if any or resume from the last replay ID is either ticked or unticked.
For scenario 1, follow the steps below:
For scenarios 2 and 3, follow the steps below:
For more information about the replay options, refer to the following link:
https://help.salesforce.com/s/articleView?id=001115641&type=1&language=en_US
001117442

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.