AnsweredAssumed Answered

Check if document is checked out

Question asked by tycho on Jul 29, 2016
Latest reply on Aug 2, 2016 by tycho

Hi all,

 

I have a workflow on a document library and at the moment it can be started on documents that are checked out and might miss required metadata.

Is there a way to prevent a workflow from being run on checked out documents (preferred option) or to check if the document is checked out as a step in the workflow and then terminate?

 

Checking if the "Checked out to" field  is not empty doesn't seem to work. Comparing it to an empty text variable always returns false and comparing it to an empty person variable isn't an option because if you create one it needs to be on the initiation form.

 

Any suggestions? Seems like something easy that more people should run in to?

Outcomes