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.
java.lang.ClassCastException: org.alfresco.repo.workflow.activiti.ActivitiScriptNode cannot be cast to java.lang.String
<userTask id="p_1_3" name="…" activiti:assignee="${wf_responsible}" activiti:formKey="wf:assignCreateResponseTask"> <extensionElements> <activiti:taskListener event="create" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"> <activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"> <activiti:field name="script"> <activiti:string> execution.setVariable('wf_assignees', task.getVariable('wf_assignees'));
execution.setVariable('wf_assignees', task.getVariable('wf_assignees').toString());