Conditional Workflow Runs Multiple Times When Item is Created Or Modified

  • 26 March 2021
  • 0 replies
  • 42 views

Userlevel 5
Badge +19
ISSUE
When using a conditional workflow set to run on item creation or modification the workflow runs multiple times.
ERROR CODE
RESOLUTION
Place a pause action at the beginning of the workflow.
ADDITIONAL INFORMATION
This issue is normally caused by the instantiation of the item in Sharepoint.  If the item is updating large numbers of fields or has large amounts of data to update (such as adding multiple attachments) it may register multiple changes to the workflow. This causes the event receiver to be triggered multiple times. Placing a pause at the beginning of the workflow causes the first instance of the workflow to persist to the database. Because there is a running instance of the workflow on the item the remainder of the instances will not run.
RELATED LINKS

0 replies

Be the first to reply!

Reply