As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var task.workflow.getTaskById(<id>); task.properties['bpm:comment'] = "Test";
task.parameters['bpm:comment'] = "Test";
var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$ep:document"; workflow.parameters["bpm:workflowDescription"] = "description: you can write everything";
I'm not sure because I am a beginner but I think the correct code is like this:task.parameters['bpm:comment'] = "Test";As this example (used for starting a workflow instance):var workflow = actions.create("start-workflow"); workflow.parameters.workflowName = "jbpm$ep:document"; workflow.parameters["bpm:workflowDescription"] = "description: you can write everything";But I repeat… I'm not sure…try reading the workflow javascript apis…