hi,
i want to update the property of the workflow using the alfresco java script.
what could be the way to achive that?
e.g
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "jbpm$workflowTest";
workflow.parameters["bpm:description"] = document.name;
workflow.parameters["bpm:assignee"] = assignee;
workflow.execute(document);
workflow.parameters["bpm:status"] = "custom_status";
if i use this script as a business rule, its NOT changing the status or workflow to my custom status.
i need to change the status or any other properties which are available with the workflow task.