AnsweredAssumed Answered

Update Workflow Task Property via JavaScript

Question asked by joaotpd on Apr 10, 2013
Latest reply on Apr 12, 2013 by joaotpd
Hi all,

How can I update a task property using JavaScript? The code below does not work:

<javascript>
var task = workflow.getTask("jbpm");
task.properties["wf:destinationUser"] = "new.user";
task.save();
</javascript>

Anyone?

Sure it must be simple, but i can find it anywhere.

Thanks!

João

Outcomes