cancel
Showing results for 
Search instead for 
Did you mean: 

Check if Document is in Workflow

Anthony_Boyd
Star Collaborator
Star Collaborator

Hi,

Is there a way using the Unity API to check and see if a document is in Workflow from the document object?

Thanks

Anthony

2 REPLIES 2

Sriram_Seshadri
Champ in-the-making
Champ in-the-making

You can get the queues a document is in using  application.Workflow.GetQueuesForDocument(document). If the list is empty the document is not in Workflow.

Perfect!, Exactly what I needed.

Thanks

Anthony