public class MyAssignmentHandler implements TaskListener {
public void notify(DelegateTask delegateTask) { // Execute custom identity lookups here // and then for example call following methods: delegateTask.setAssignee("kermit"); delegateTask.addCandidateUser("fozzie"); delegateTask.addCandidateGroup("management"); … } }
and put the jar of this class into the path tomcat/webapps/alfresco/WEB-INF/lib
but its not working , not even finding any log for it
can anyone please tell me how will it work , or if any other solution for the same
Have you tried setting a breakpoint on your TaskListener class to see whether or not your class is even being loaded and to attempt to determine if you have any logic errors or exceptions?