SOLVED

SharePoint Workflows: Extend Timeout

Copper Contributor

How do I extend the execution time of a SharePoint workflow?  Currently we are concerned with SharePoint 2016 Workflows.  It appears to be running for around 20 minutes and then terminates.  The events that we have associated to it are terminating at random locations.  The code works outside of workflow and for shorter running processes.  So, we are thinking timeout.

 

We have executed the following in an attempt to extend workflow to 30 minutes.

stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv "30"

 

Is there something else that we can do, or that I am missing, to extend this?  We can attempt reconfiguration to make things run shorter; however, I would like to have control over how long things can run.  I don't want to limit the process, but be able to lengthen it if needed.

 

Thanks,

Craig

20 Replies
The same workflow works fine for other items in the list. It is just failing for a large item that takes longer than 20 minutes to run. I don't believe that it's our code, it's the fact that we need the workflow to run longer that SharePoint allows. We may need to implement an event or something that tells WF to wait. We just need WF to run longer.