Hi, please help.
I searched information in the Internet but no success. I have the following challenge.
I know how to get a list of workflows by RESTful:
var url = "http://localhost:8080/alfresco/service/api/workflow-instances";
var json = remote.call(url);
I also know how to get a workflow relating to some file(s) but that's not what I'm looking for:
var docNodeRef = "workspace://SpacesStore/c86cbdb5-6bbc-4a30-8c8d-be610bee4a63";
var theDocument = search.findNode(docNodeRef);
for each(wf in theDocument.activeWorkflows)
Thank you very much in advance for any help!