Thursday, July 07, 2011

Develop complex jBPM processes all in Guvnor? Yes, you can!

(click on image to view the video)











The above video showcasts some of the new jBPM web-based tooling support added to Drools Guvnor and the Oryx Designer used by jBPM to allow both business users and developers to create complex BPMN2.0 processes without depending on the traditional development environments.

The new tooling support includes:
* jBPM Custom-workitem definition editor in Guvnor.
* Oryx Designer ability to store processes to PNG and PDF formats.
* Ability to view the BPMN2.0 source of the process in Guvnor.
* Oryx Designer ability to generate process task forms which are fully-executable in jBPM Console. Templates also include form validation support out-of-the-box.
* Tight integration between Oryx Designer and Drools Guvnor.

In this video we create a simple medicine checkout procedure process which used both human tasks and a custom email notification workitem all in Guvnor, then execute it inside jBPM Console.

12 comments:

  1. Hello,
    video looks great! It would be nice to have a GUI tool in which you can do all your BPMN 2.0 stuff.

    Is there a way to access Human task processes via Java code? Somehow to connect to Guvnor process repository and see what processes are active, their names instead of to use Mina task?

    Any advice would be appreciated.

    ReplyDelete
  2. Dobar dan Kresimire :)
    the jBPM console exposes a REST api you can use for different things. See chapter 11.4. REST interface of the jBPM5 docs. Also if you have the console running navigate to http://localhost:8080/gwt-console-server/rs/server/resources which will show you all the different things you can do. As far as Guvnor goes, you can use the Guvnor REST api to query all processes in your packages to get their sources. Other than that, Guvnor is not an execution environment for processes.

    ReplyDelete
  3. Cool stuff. Thanks for the video!

    ReplyDelete
  4. Hvala Tihomire za pomoć!

    Thank you Tihimir for the help.

    Best Regards,
    krešimir

    ReplyDelete
  5. Hello,

    JBoss AS 7 is out. What would be necessary to start Guvnor on this AS? Has anyone try it?

    Best Regards,
    Krešimir

    ReplyDelete
  6. @Kresmir I tried running Guvnor 5.2 on AS 7 beta 2, but it failed because of an unimplemented, unused ejb.timer feature (which is related to guvnor's misuse of seam 2). On AS 7 final it should run, but I haven't tried yet. Although there are no negative reports yet.

    For Guvnor 5.3, I am upgrading guvnor to seam 3 / weld, fixing the misuse of seam 2 and making sure it runs on AS 7 final too (because AS 7 rocks! - it's startup times is a giant step forward on anything else out there).

    ReplyDelete
  7. Hello,

    I'm glad that someone is working on it. I would really like to try it on JBoss AS 7. They say it is much better then previous JBoss versions.

    When do you plan to finish and will you post where Guvnor 5.3 can be downloaded?

    Best Regards,
    Krešimir

    ReplyDelete
  8. Hello.

    Your demonstration was great, but I can't find the button to generate forms and publish everything to jBPM.

    I've download the jbpm-5.1.0.Final-installer-full from jboss site and I can't follow your demonstration on it.

    Is this a new version of Oryx or Guvnor not yet released?

    Thanks.

    IMSegundo

    ReplyDelete
  9. The Oryx Designer version used in the video is the latest 1.0.0.053 which you can get from sourceforge: http://sourceforge.net/projects/jbpm/files/designer/designer-1.0.0.053/. The Guvnor Workitem Definition Editor is currently only in master on github: https://github.com/droolsjbpm/guvnor. You would have to clone it and build it yourself, check build instruction info here: https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md. Hope this helps. Thanks.

    ReplyDelete
  10. Hey,

    I can't get how the e-mail notification works. In any moment you define how it would send the e-mail.

    How it is possible?

    ReplyDelete
  11. Hi Tihomir,

    Great presentation!

    What are the options to integrate such business process with my camel route, when camel sends the event to the process? Can you point me out to some examples, please?

    Now about the deployment.

    Can I deploy my camel application on JBoss?
    Can I deploy drools and Guvnor as OSGi bundles on Fuse ESB (Apache Service Mix)?
    Or it is better to run my Camel on Service Mix and Guvnor on JBoss like its suggested here: http://www.plugtree.com/drools-5-cep-case-study/ ?

    What modules should I have installed to create and run the BPMN 2.0 application? And what versions of those modules are stable enough?

    Thank you!
    Serge

    ReplyDelete
  12. I am unable to find drools-guvnor.war anywhere? how should I proceed?

    Thanks
    Deep

    ReplyDelete