ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.vci.server.workflow.server.event.event617;
 
import org.jbpm.api.listener.EventListener;
import org.jbpm.api.listener.EventListenerExecution;
import org.jbpm.api.model.OpenProcessInstance;
 
import com.vci.common.objects.UserEntity;
 
public class GroupListener  implements EventListener {
 
    /**
     * 删除
     */
    private static final long serialVersionUID = 1L;
 
    public void notify(EventListenerExecution eventlistenerexecution) throws Exception {
        OpenProcessInstance processInstance = eventlistenerexecution.getProcessInstance();
        String outcome = (String) processInstance.getVariable("OUTCOME");
        String userName = (String) processInstance.getVariable("userName");
        String userIP = (String) processInstance.getVariable("userIP");
        String userModule = (String) processInstance.getVariable("userModule");
        String deploymentId = (String) processInstance.getVariable("deploymentId");
        String[] objectids = (String[]) eventlistenerexecution.getProcessInstance().getVariable("objIds");
        String btmtype = (String) eventlistenerexecution.getProcessInstance().getVariable("btmtype");
        UserEntity user = new UserEntity();
        user.setIp(userIP);
        user.setModule(userModule);
        user.setUserName(userName);
        
        
        
        
 
    }
 
}