function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SudipkMondalSudipkMondal 

Deadlock on Email-to-Case

Here's something that I got recently stuck up with. Below is the scenario:
We have 4 different mailboxes which when receives email, creates case in Salesforce in 4 different queues(depending on the email address receiving it).
Let us consider 2 email boxes for this scenario: Mailbox1 and Mailbox2 and 2 email queues - Queue1 and Queue2 respectively.
Step 1: Mailbox1 --> Email sent to --> Mailbox2, Step 2: Case is created in the Queue2, Step 3: Acknowledment received in MailBox1 From MailBox2., Step 4: Case Created in the Queue1, Step 5: Acknowledment received in MailBox2 From MailBox1.
Post step 5, move to Step 2 as a new email is received in MailBox2.
And the above loop keeps on flowing until the email to case functionality is stopped and re-configured.