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
Shweta GargShweta Garg 

Can milestone time trigger value be negative or Zero

Hi All,

There is on entitlement pocess in which milestone time trigger value is calculated from AP02_MilestoneTimeCalculator.
On updating the case , I am getting an error on case detail Page.  Error:The time trigger value calculated by the Apex class "AP02_MilestoneTimeCalculator" must be a positive integer.

Milestone time is calculated in  "AP02_MilestoneTimeCalculator" class . Whenever It calculates the value either zero or negative. I am getting this error.
Does this mean Milestone time trigger value is always  greater than zero or something else?This error is due to some other reason?I am confused.Please help me.

Thanks,
 
NagendraNagendra (Salesforce Developers) 
Hi Shweta,

May I request you to please post the code snippet of what you have done so far so that we can look into it and do the needful accordingly.

For more information on milestone time trigger please check with below link. Regards,
Nagendra.