JBoss Community

How do I get the Message Event EventType property field value?

created by byungwoojun in jBPM - View the full discussion

Using the NodeIntstance API, I was able to get the Message Event Node Name as follows. What I really want is getting its "EventType" property field. The NodeInstance does not have a method getting the EventType. Is there any way to get the EventType?

 

 

ProcessInstance subPi = ksession.getProcessInstance(instanceId);

WorkflowProcessInstance wpi = (WorkflowProcessInstance)subPi;

List<String> result = ArrayList<String>();

 

 

 

 

 

 

Collection<NodeInstance> myNodeInstances = wpi.getNodeInstances();

for (NodeInstance ni : myNodeInstances) {

     System.out.println("Node Name: " + ni.getNodeName());

}

 

 

 

 

Thanks,

bwj

Reply to this message by going to Community

Start a new discussion in jBPM at Community