2 Replies Latest reply on Apr 2, 2009 11:52 PM by konstt2000

    Obtain the processInstance inside @CreateProcess

    konstt2000

      Hi,


      I want to obtain the processInstance inside @CreateProcess, is it possible?


      Code:



      @CreateProcess(definition="todo")
           public void createProcessExample() {
                
                logger.info("CreateProcess invoked!!");          
                //How may I read to processId than I just created here?
                
           }
      



      XHTML:


      <h:commandButton action="#{motor.createProcessExample}" value="Create TODO" />