AnsweredAssumed Answered

Notification by datalists in 5.0c

Question asked by marcinm on Jan 13, 2015
Latest reply on Feb 5, 2015 by marcinm
Is it possible to use Your script in Alfresco Community 5.0c:
var person=document.assocs["dl:dl:taskAssignee"][0];
var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$activitiAdhoc";
workflow.parameters["bpm:workflowDescription"] =;
workflow.parameters["bpm:assignee"] = people.getPerson(username);
workflow.parameters["bpm:workflowDueDate"] =["dl:ganttEndDate"];
workflow.parameters["wf:notifyMe"] = true;


I copied Your script to Repository/Data Dictionary/Scripts and set a rule on all newly created items that executes this script (on TaskList folder) but it don't do anything.

In i have system.workflow.engine.jbpm.enabled=false but changed workflowName to activity as shown in script.

Thanks for any tips