I am using Community Edition 4.0.d in that i desinged a workflow process through activiti.
In the usertask when i assigned to activiti:candidateGroups="GROUP_approve" task is not assigning to approve group people, even not displaying any errors. please help me to solve the issue
Can you include your workflow model? Without it we cannot be of much assistance. Also, the entire userTask element from your BPMN process definition would help.
sorry for late reply this is my workflow in that first user task "adhocTask" int that now its assignee to user hrm but i need that should come from group who ever name added in that task should go to him for that i used activiti:candidateGroups("GROUP_approve") , approve is my group name.
Regards. pmrreddy
<?xml version="1.0" encoding="UTF-8" ?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlnsmgdc="http://www.omg.org/spec/DD/20100524/DC" xmlnsmgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://alfresco.org"> <process id="ResumeProcess1" name="ResumeProcess1"> <extensionElements> <activiti:executionListener event="start" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener"> <activiti:field name="script"> <activiti:string> var mail = actions.create("mail"); mail.parameters.to = ""; mail.parameters.subject = "Adhoc Task start evenet employee resume" + bpm_workflowDescription; mail.parameters.from = initiator.properties.email; mail.parameters.text = "A New Resume has been created by " + initiator.properties.userName; mail.execute(bpm_package); var dest = companyhome.childByNamePath("Profiles/Employee CV's"); bpm_package.children[0].move(dest); </activiti:string> </activiti:field> </activiti:executionListener> </extensionElements>