[jboss-user] [jBPM] - How do I get the Message Event EventType property field value?

byungwoojun do-not-reply at jboss.com
Tue Oct 25 22:43:32 EDT 2011


byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/633586#633586

--------------------------------------------------------------
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
[http://community.jboss.org/message/633586#633586]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111025/cb649100/attachment-0001.html 


More information about the jboss-user mailing list