12-02-2009 06:19 PM
var task = workflow.getTaskById(args['taskId']); // taskId is the PooledTask's id, jbpm$###.
logger.log(task.getId()); // shows the id properly
logger.log("TASK PROP: " + task.properties['cm:owner']); // this property doesn't seem to exist.
logger.log("TASK PROP: " + task.properties['{http://www.alfresco.org/model/content/1.0}owner']); // this property doesn't seem to exist.
var props = task.getProperties() // This function I got from the wiki doesn't return anything, it returned null.
12-02-2009 07:45 PM
Map<QName, Serializable> params = new HashMap<QName, Serializable>();
params.put(ContentModel.PROP_OWNER, owner);
WorkflowTask updatedTask = workflowService.updateTask(taskId, params, null, null);
06-07-2010 06:07 AM
06-10-2010 07:48 PM
06-30-2010 11:12 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.