AnsweredAssumed Answered

Read and update Properties in a workflow task

Question asked by vmustafayev on Jun 24, 2011
Latest reply on Jul 7, 2011 by vmustafayev
Hi,
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