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
Mthobisi Ndlovu 2Mthobisi Ndlovu 2 

Email 2 Case assigning different record types

Hi Guys

I have 3 record types on case object Installation Support, Service Support and Site Visit Support and we are using the On-Demand Email 2 Case. I know that you can select 1 record type that can be used when creating a Case using the email case but I was wondering if there's a way to assign the record types depending on the subject or content of the email?

I would like to use all 3 record types when creating the case via Email 2 Case
Tom Blamire 24Tom Blamire 24
Unfortunately a record type can only have one type. Could you not create a 4th version that is a combination of the 3?
Ravi Dutt SharmaRavi Dutt Sharma
Hey Mthobisi,

You can handle that it a before insert trigger on Case. Check the required conditions in your trigger and assign the record type.