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
JagadeshJagadesh 

entitlement process and cases

Hi ,

I have a requirement like the following:
I need to create an entitlement record for every incoming case via email to case and assign the created entitlement record to that corresponding case
Im looking to use before trigger for cases.

Can anyone please help me with the code,

thanks,
Jagadesh.
NagaNaga (Salesforce Developers) 
Dear Jagadesh,

I think we can create the entitlements from email to case through the triggers

Please follow the link below

https://developer.salesforce.com/page/Default_Entitlement_on_Case_with_Triggers#Trigger_on_Case

Best Regards
Naga Kiran
JagadeshJagadesh
Hi Naga Kiran,
Thanks for the reply.

I have already checked that.In that case,they are assigning the existing entitlement record to the newly created case.

But i want to create a new entitlement record whenever a case is created,and then assign this created record(entitlement) to the case record that is in context.

Thanks,
Jagadesh.