-
1. Re: jBPM5 - Drools Guvnor
eaa Sep 20, 2011 3:37 PM (in response to jimdwyer)The assets (rules, processes, etc.) you create in Guvnor are available through various mechanisms like:
- HTTP Request
- Webdav
- REST API
You can take a look at the documentation to see how this works: http://docs.jboss.org/drools/release/5.3.0.Beta1/drools-guvnor-docs/html_single/index.html#d0e1629
What people usually do is to Compile the package where all the assets are ing Guvnor and then use that package in your applications using kbuilder.add().
Another way is to use jbpm-gwt-console as runtime for your processes. In this case, jbpm-gwt-console will connect to Guvnor to retrieve all the processes from it.
-
2. Re: jBPM5 - Drools Guvnor
code_monkey Sep 20, 2011 3:57 PM (in response to jimdwyer)Jim Dwyer wrote:
I have both jBPM5 and Drools Guvnor up and running. I am failing to see the connection between the two. I can create a workflow in Guvnor and save it. How does jBPM use that stored workflow?
You can import the workflow into Eclipse. If you have Eclipse hooked up to Guvnor (ask if you need directions on this), you can Import the workflow and view it, modify it and save it back to Guvnor. Then the original author of the workflow (or anyone else who has access to Guvnor) can see the modified workflow.
This is especially useful if, say, you have a bunch of business people making workflows. They can create the workflows, then a developer can grab the incomplete workflow from Guvnor, do all the "hook up" to make it work, save it back to Guvnor and let the business dudes play with it.
Hope this helps!
-
3. Re: jBPM5 - Drools Guvnor
jimdwyer Sep 20, 2011 4:11 PM (in response to eaa)How does the jbpm-gwt-console connect to Guvnor? I don't remember setting anything up in the jbpm-gwt-console to tell it about Guvnor.
-
4. Re: jBPM5 - Drools Guvnor
jimdwyer Sep 20, 2011 4:12 PM (in response to code_monkey)The eclipse part seems to be working as you describ.
-
5. Re: jBPM5 - Drools Guvnor
code_monkey Sep 20, 2011 4:19 PM (in response to jimdwyer)Jim Dwyer wrote:
How does the jbpm-gwt-console connect to Guvnor? I don't remember setting anything up in the jbpm-gwt-console to tell it about Guvnor.
You use the Guvnor tool to connect to Guvnor (probably something like http://localhost:8080/drools-guvnor for you). From there you can open & edit workflows.
-
6. Re: jBPM5 - Drools Guvnor
jimdwyer Sep 20, 2011 4:24 PM (in response to code_monkey)Sorry the Guvnor part is working as well as the Eclipse editor. I am having trouble seeing the workflow I create in Eclipse/Guvnor in jBPM. I should be able to start them from jBPM.
-
7. Re: jBPM5 - Drools Guvnor
code_monkey Sep 20, 2011 5:02 PM (in response to jimdwyer)Jim Dwyer wrote:
Sorry the Guvnor part is working as well as the Eclipse editor. I am having trouble seeing the workflow I create in Eclipse/Guvnor in jBPM. I should be able to start them from jBPM.
I'm sorry, I'm a litle unclear. You mean you can't see the process you created via Guvnor/Eclipse in the console so you can start the process? That feature has always been flakey for me; sometimes I have to refresh the "Process Overview" view several times (and ignore several errors) before I can see my processes. Try waiting & refreshing a few times and see if that helps. AFAIK, you don't have to do any setup in the Console to get it to see Workflows in Guvnor.
Actually, you may need to Build the assets before they'll show up in the console. See this screencast (http://people.redhat.com/kverlaen/jBPM5-guvnor-integration.swf) from about 1:17 to about 1:30 to see how to do this. Afterwards, you should see them in the console.
HTH
-
8. Re: jBPM5 - Drools Guvnor
code_monkey Sep 20, 2011 5:16 PM (in response to code_monkey)Actually, you may want to refer to this entire chapter: http://docs.jboss.org/jbpm/v5.1/userguide/ch15.html
HTH
-
9. Re: jBPM5 - Drools Guvnor
jimdwyer Sep 22, 2011 11:06 AM (in response to code_monkey)Nice video. Nothing ever works as advertised for me. Anyway.... I will keep trying.
Thanks