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
Jasjeet GrewalJasjeet Grewal 

Entitlement Process - Set BusinessHours dynamically on creation based on certain values

Hi all,

My entitlement has business hours assigned to it.
But, I want to set business hours at time of creation of milestone when case is created.
I tried of changing BusinessHoursId on milestone, but it is not possible as field is not writeable.

Any suggestion of how to set business hours to milestone on creation?

Thanks,
Jas
Best Answer chosen by Jasjeet Grewal
Jasjeet GrewalJasjeet Grewal
I am able to resolve this. Didn't realized that I could change BusinessHours on a case level.