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

workflows for business days / hours



I have to  create workflow rules , where i need to create a task after two days if certain conditions are met.

Now the problem is if it is thursday i need to create a task on monday and if it is friday task should get created on tuesday.I want a way were all this date calculation take into account weekends.


Plz letme know if you have any idea.



Thanks in advance


You can use the BusinessHours class in Apex to accomplish this, but you can't presently do it with just workflow.