2 Replies Latest reply on Oct 26, 2011 8:41 AM by byungwoojun

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

    byungwoojun

      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