AnsweredAssumed Answered

Checking/detecting if a document is checked out

Question asked by murad_haider5 on Mar 13, 2015
Latest reply on Sep 15, 2016 by westerdaled

Hello Everyone,
i am designing a workflow for a list in which i  got to update a related item in a document library (using lookup id). The document library is configured to force checkout before editing the items. Now, from the list workflow i want to updated the related item in document library, for which i would have to check out the document (checkout action is configured to check out the respective document), update item, and then check in back. Things work fine if respective document is in 'checked in' state before making the updation using workflow. If the document is checked out before the workflow is run, it would throw error, something like " document is already checked out" (as i am checking out the document in workflow). So, my question is, is there any way, i could check/detect if the document is checked out? using nintex workflow 2013. Please advise or suggest any work around.

Outcomes