1 Reply Latest reply on Aug 19, 2010 1:54 AM by cbensemann

    How to get processInstance after creation

    dave2010

      Hi


      I am using  @Observer(org.jboss.seam.createProcess.name) to add additional context variable to a new business process once it is created using @create_process. But I don't know how to get processInstance object. Is using BusinessProcess.instance() get process id the only way to go ? if so, how do I convert the process id into the ProcessInstance object ?


      Any ideas ?


      Regards, David