1 Reply Latest reply on Mar 16, 2012 10:06 PM by Tihomir Surdilovic

    Integrating Designer into Java Application

    mpankaj Newbie

      I have seen blogs related to integrating web designer into the java application. However I have not understood how to do seamlessly following:

       

      1. Expose Designer to end user in a integrated app environment. Allow user to create process. Get the ID of the saved process and store it in a database outside of Guvnor database.

      2. As a result of an event (outside of jBPM), I want to invoke the process saved in Guvnor and instantiate it.

       

      Basically integrating jBPM into an independent form based application developed on LongJump.

       

      Pankaj

        • 1. Re: Integrating Designer into Java Application
          Tihomir Surdilovic Master

          1. You can expose the web designer in the standalone editor (look @ this blog for more info: and a sample seam2 app: http://blog.athico.com/2011/04/using-oryx-designer-and-guvnor-in-your.html ). Note that you have to have Guvnor running somewhere. You can get the uuid of your process asset at which point you could query Guvnor (via its rest api) to get the stored BPMN2 of your process (after user saves it) and store it in your own DB if you want. Designer however right now can only read processes that are stored in Guvnor JCR. Being able to store in a DB would be a nice contribution

           

          2. Are you planning to run in the jBPM Console? If this is your own app, upon your event you could just use the Guvnor REST api again to get the BPMN2 of the process definition stored in Guvnor and go from there.

           

          Hope this helps.