Solved

How to ensure workflow kicks off after a document is checked in

  • 14 October 2017
  • 3 replies
  • 0 views

Badge +1

I have a SharePoint Online library that is handling review of all of our policies. There are 10 required fields and I don't want my review workflow to kick off before those are filled in. Is there a way to kick off a workflow AFTER the required fields have been filled in?

icon

Best answer by TomaszPoszytek 14 October 2017, 08:47

View original

3 replies

Userlevel 7
Badge +17

Well basically you cannot save a form in SharePoint without filling all required fields... 

To fire a workflow one the file is checked in, create a people variable, but don't set it. Then add a filter action in the beginning of your workflow and set a rule: checked out to is equal (your person variable).

That will ensure your workflow to pass the filter only when checked out to is empty what means that the file is checked in

Regards, 

Tomasz 

Userlevel 7
Badge +17

Hi!

Have you had a chance to test the solution I described? Have it worked for you?

Regards, Tomasz 

Badge +1

Thanks for the suggestion Tomasz. This solution worked.

Reply