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
vbnmvbnm 

Excluding Business hours from the Date Field Update

Hi,

 

I have created one work flow like if staus == Failed, then I need to update the date filed like Today() + 3.

 

 

But here the issue is, we need to exclude the business hours (holidays)  from the 3 days we are adding to the current date.

 

Will it automatically exclude those businees hours? or Do we need to do any work around?

 

Help will be hightly appreciated.

 

Regards,

Venkat.

 

werewolfwerewolf
Workflow field updates will not factor in Business Hours as of this writing.  If you need to factor in Business Hours and holidays then you must do your update with Apex and use the methods of the BusinessHours class to do the math.