Hi all,
I have a workflow that runs every day and includes multiple Wait activities, each lasting more than one day. My question is: when the workflow runs again the following day, will the ongoing Wait activities be terminated, or will they continue until their specified wait time has been completed?
Thank you in advance for any clarification!
Best regards,
Warisara
Solved! Go to Solution.
Views
Replies
Total Likes
If the same branch of a workflow has several schedulers/wait, the number of tasks to be executed will be multiplied exponentially, which would considerably overload the database.
basically, if the scheduler resumes before you wait the next activities won’t move forward.
ACC is using temporary tables which are deleted after every run.
Thanks,
David
To my knowledge, the wait activity has its own logic so to speak.
Meaning, whenever subjects enter the activity, those subjects will wait fo rthe specified time regardless of the schedule activity beforehand. So the short answer following this logic is: It will always wait for the specified time and not force-execute.
This is however pretty straightforward to test yourself, so I would recommend just testing that behavior to confirm
If the same branch of a workflow has several schedulers/wait, the number of tasks to be executed will be multiplied exponentially, which would considerably overload the database.
basically, if the scheduler resumes before you wait the next activities won’t move forward.
ACC is using temporary tables which are deleted after every run.
Thanks,
David
Hi @WarisaraYi It is suggested to use the 'wait' activity - use sparingly and only when necessary to achieve specific workflow goals. A bit strange to think how you are managing the workflows which are lasting more than a day. May be it is time to optimize, break them in to significant segmented data queries,
But coming to your question: The Wait Activity will affect the workflow's completion time within the daily cycle. If the Wait Activity's duration is significant, it might push the workflow's completion beyond the intended daily execution window.
BR, Hari Krishna D