AnsweredAssumed Answered

return values from action.execute()

Question asked by cszamudio on Oct 2, 2012
Latest reply on Oct 3, 2012 by smicyk
Hi,
Does the action.execute() function ever return a value?  For example, if I'm creating a workflow on a document I call workflow.execute(docNode) after setting up the parameters, works fine. But it would be nice to retrieve the workflow Id of the newly started workflow and return this in a JSON formatted result.  I've tried looking in the workflow object, but I don't see it there (after execution).  All of the examples I've found never look at a returned value.  (The SOAP interface, however, returns the newly created workflow instance data). Any hints someone could part with?
Thanks,
Carlos S. Zamudio

Outcomes