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
Chintan Jadwani 3Chintan Jadwani 3 

How time dependant workflows work in a queue?

Hi guys,
I have a time dependent workflow.
Criteria - Status != 'Closed'

1st action - After 7 days - create task
2nd action - after 15 days - create task

My Question is: as soon as, 1st action is completed, my record will be in queue for 2nd task (to be run after 15 days), right?
So, in case my record status is changed to 'Closed' between 7-15 days. Will my 2nd task get generated?

Thank you.
Chintan

Best Answer chosen by Chintan Jadwani 3
Dhanya NDhanya N
Hi Chintan,

 If you change the status to 'Closed' between 7-15days, the time-dependent action is automatically removed from the queue. So 2nd task will not get generated.

For more information about Time dependant workflow refer this link : https://help.salesforce.com/HTViewSolution?id=000005245

Thanks,
Dhanya