6 Replies Latest reply on Jul 25, 2006 3:05 AM by faizal.rashid

    getting node Class type when getting process definition from

    gregoiredx

      Hello,
      I'm testing jBPM and it really is a good product.
      But I'm stuck with a problem when trying to identify node "real" Class type when the process definition is retrieve from datablase.

      More practicallly :
      JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
      try {
      ProcessInstance processInstance = jbpmContext.loadProcessInstanceForUpdate(processInstanceId);
      Object[] args = {processInstance};
      method.invoke(null, args);
      } finally {
      // Tear down the pojo persistence context.
      jbpmContext.close();
      }