AnsweredAssumed Answered

retrieve workflow instance from task id

Question asked by vale_arna84 on Jun 14, 2010
Latest reply on Jun 8, 2011 by jucanet
Hello,

Is there a way to retrieve a workflow instance from a task id using javascript apis? I would like to add some notes to a document shared by a series of review and approve tasks. For now I'm getting the tasks related to a logged user with a workflow.getAssignedTasks(), but I don't know how to retrieve the workflow instance. I'm planning to add a "note" variable to the workflow. Is there a better way to create and access a text variable related to a workflow content?

Thanks

Valerio

Outcomes