2

Is there a a limit to how long a workflow can run using the Pause function?

I seem to have found that workflow history is deleted after 90 days, but would this have an effect on the workflow if it is still running at that time?

In theory, could a workflow run forever if performing an infinite loop?

1 Answer 1

2

I dont think their is any such limitation on the workflow timing.

Workflow history deleted after 60 days(be default),after a workflow is completed or cancelled. In other words, Workflow Auto Cleanup only delete the history items for the completed /cancelled workflows.

Workflow history items themselves are not deleted, but the entry point to view them on the status page for a particular instance will no longer be available.

Workflow Auto Cleanup job is responsible for this which runs daily.If you dont want to clean the workflow history list, you can disable this timer job.

Disable automatic cleanup of workflow history

1
  • Hi Waqas, do you know if this applies to Sharepoint Online by any chance?
    – Yugo
    May 17, 2017 at 13:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.