Sharepoint - Possible to pause for less than 1 minutes for SharePoint Workflow?

The TimeoutDuration of the Delay activity is a TimeSpan which means that it could in theory be set to milliseconds.

But in practice every time you delay your workflow in only picked up the next time the Workflow timer job runs which by default is every 5 minutes.

You can change how often the timer job runs by using stsadm, but you probably shouldn't set it below 5 minutes and definitly not below 1 minute


This can be achieved using the following steps as described here.

  1. Create a workflow variable called "delay_timer": Number

  2. Use Calculate action to get required delay/pause time and save in workflow variable "delay_timer" (eg: 1 divided by 20 = 3 seconds)

  3. Pause workflow for "delay_timer" duration.

Also refer this relevant thread.

Tags:

Workflow