AnsweredAssumed Answered

Get completed workflows for a node

Question asked by dave984 on Mar 4, 2015
Latest reply on Mar 6, 2015 by dave984
Hi all, starting from a previous post, i'm asking if there is a way to have in the document-details page of a document the information not only about the active workflow but also the completed.
So i started studying the panel 'Workflows' and the webscripts invoked, that is document-workflows.
In document-workflows.get.js i found the remote call that retrieve all the active workflows:   

var result = remote.call("/api/node/" + nodeRef.replace(":/", "") + "/workflow-instances");


Finally the question is: is there a way to retrieve the completed workflows for a defined node? i don't think i can add something in query string to that service…

Outcomes