AnsweredAssumed Answered

JS read write task properties

Question asked by vmustafayev on Jun 23, 2011
How we can read and write task properties in alfresco webscript js file?
I wrote code like this:

var taskId = "jbpm$12";
var task = workflow.getTask(taskId); //workflowTask
logger.log( task.getProperties() );

but it prints null :(
I read about getProperties method in http://wiki.alfresco.com/wiki/Workflow_JavaScript_API

please  help me, how we can read and write properties in webscript JS ? :(

Outcomes