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
utz1utz1 

Hanlde Success , Warning and Violation action in milestone using customization

Hello,

We want to use success, warning and violation action used in milestone[Entitlement Process] programmatically. Is this possible in salesforce? How to call this event programmatically for the specific conditions on the milestone.

Thanks,
Utkarsha
The_London_ScottThe_London_Scott
Do you mean with declaratively or with code? The documentation is fairly good on working declaratively, especially the implementation guide (http://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/salesforce_entitlements_implementation_guide.pdf). For working with code, this (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_support_milestonetriggertimecalculator.htm#!) documentation may be a useful starting point.