AnsweredAssumed Answered

Completed workflows for a document

Question asked by prachi379 on Feb 17, 2015
Latest reply on May 6, 2015 by prachi379
I would like to use the REST API to return the completed workflows for a document.

The following works for me, it returns ALL the completed workflows - http://localhost:8080/alfresco/s/api/workflow-instances?state=completed

But it will not work for specific document - http://localhost:8080/alfresco/s/api/node/workspace/SpacesStore/e3ebc28c-d100-4c1c-b488-2526fd8769e9/workflow-instances?state=completed

I want to modify the API so that I can use the 'state=completed' filter for a specific document as well.

Is this possible and if yes, where is the code located? (I haven't found it so far..)

Thank you!!