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&...]