流程钩子
This commit is contained in:
parent
7e0481b0ee
commit
ab6ee44ac9
|
@ -0,0 +1,19 @@
|
||||||
|
package io.renren.modules.processForm.listener;
|
||||||
|
|
||||||
|
import org.activiti.engine.delegate.DelegateExecution;
|
||||||
|
import org.activiti.engine.delegate.DelegateTask;
|
||||||
|
import org.activiti.engine.delegate.ExecutionListener;
|
||||||
|
import org.activiti.engine.delegate.TaskListener;
|
||||||
|
|
||||||
|
public class CorrectionListener implements TaskListener, ExecutionListener {
|
||||||
|
@Override
|
||||||
|
public void notify(DelegateTask delegateTask) {
|
||||||
|
delegateTask.setAssignee("1513432847327199233");
|
||||||
|
System.out.println("进入DelegateTask");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void notify(DelegateExecution execution) throws Exception {
|
||||||
|
System.out.println("进入DelegateExecution");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue