JBoss Community

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

created by Francesco Pietrobelli in jBPM - View the full discussion

Hi bwj,

at the Moment i don't remember the exactly API but you can check the type of the node, i.e.

 

 

for (NodeInstance ni : myNodeInstances) {
     if(ni instanceof EventNodeInstance){
          EventNodeInstance eventNi=(EventNodeInstance)ni;
          System.out.println(ni.getEventType());
     }
}
 

Reply to this message by going to Community

Start a new discussion in jBPM at Community