You are viewing limited content. For full access, please sign in.

Question

Question

How to schedule workflow to run off hours every day and start up where it left off the day before?

asked on November 1, 2023

I have a client that would like a workflow to run every night migrating documents form one server to another after hours(10pm - 6am). He would like the workflow to pick up where it was stopped the night before. Can this be done? Maybe with custom time token and wait condition? So if it is 6am it will wait till 10pm to resume? 

0 0

Answer

SELECTED ANSWER
replied on November 1, 2023

Long running workflows tend to slow down over time, so I would suggest creating some means of selecting the documents that are waiting to be processed (maybe a flag, or a field).  Then use a count limit on the "Search Repository" activity (say 100 documents).  Then check the time and use an "Invoke Workflow" activity (without a wait condition) to relaunch the activity with a computed delay passed in as a parameter.

2 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.