|
@@ -33,7 +33,7 @@ public class PmAfterEventListener implements EventListener {
|
|
|
public void notify(EventListenerExecution execution) throws Exception {
|
|
|
String processInstanceId = execution.getProcessInstance().getId();
|
|
|
String nodeName = processDao.getJProcesses(processInstanceId).get(0).getJp_nodeName();
|
|
|
- if (execution.getIsProcessInstance() && execution.isEnded()) {
|
|
|
+ if (execution.getIsProcessInstance()) {
|
|
|
String caller = (String) execution.getVariable("caller");
|
|
|
int keyValue = Integer.parseInt(execution.getVariable("id").toString());
|
|
|
JNode jnode = processDao.getJNodeBy(processInstanceId, nodeName);
|