2 Replies Latest reply on Jun 18, 2009 6:48 PM by Alexandros Karypidis

    How to obtain the process instance id after @CreateProcess

    Brom bie Newbie

      So, the @ResumeProcess can take processId as a parameter, but how do I get the processId once it's created using @CreateProcess?


      My use case is simple.  I'd like to attach the processId to my business object since there's a one-to-one correspondence between a process instance and an object instance.   That way, given the business object id, I can get the processId, which can be used to pull up the necessary jbpm-related information around that object.


      Thanks!


      ps: I've tried creating the process instance manually and that seems to work except when called from Seam Remoting.