AnsweredAssumed Answered

[SOLVED] Editing Properties in a workflow task

Question asked by hyperation on Jun 9, 2010
Latest reply on Jun 14, 2010 by hyperation
Hi,

I am wondering if there is anyway in Webscript (Javascript) to set a workflow task property?

For instance if I want to change bpm:comment to "Test", what would be the Javascript code for it?

I tried doing


var task.workflow.getTaskById(<id>);
task.properties['bpm:comment'] = "Test";

That didn't work.  I was only able to read but not write to the property.

Any suggestion or comment is appreciated.

Thanks
:)

Outcomes