cancel
Showing results for 
Search instead for 
Did you mean: 

How to know if document is in review process?

modestas
Champ in-the-making
Champ in-the-making
Hello,

I have a questions about alfresco review tasks and process.

Is it possible to know (from code) if concrete document is assigned for review? How to know if document is in review process right now by user? and how to get review id or something that would indicate review "object".

code example in Java/JS would be very appreciated!
Any comments are welcome!

respectfully,
Modestas
2 REPLIES 2

romschn
Star Collaborator
Star Collaborator
Take a look at getWorkflowsForContent method in WorkflowService. It returns the workflow instances that act upon the given content noderef. It may be useful to you for your scenario.

modestas
Champ in-the-making
Champ in-the-making
thank you this really helped!

respectfully,
Modestas