-
1. Re: Adding Jbpm to an existing Seam application
fady.matar Jun 26, 2007 7:19 AM (in response to robin.hultman)You can check the dvd-store on how to do that.
However the approach won't work if you have no process definition or page flow definition declared in your components.xml file.
The way is to right your own startup class that can initiate the jBPM engine. -
2. Re: Adding Jbpm to an existing Seam application
robin.hultman Jun 26, 2007 7:57 AM (in response to robin.hultman)Sorry I dont quite follow you there.
I have looked att the dvdstore example without any success.
I have this in my components.xml
<core:jbpm>
<core:process-definitions>
booking-system.jpdl.xml
</core:process-definitions>
<core:pageflow-definitions></core:pageflow-definitions>
</core:jbpm>
It deploys and everything and I have a method annotated with @CreateProcess(definition="booking-system").
After I have called my annotated method I open a page similar to the process.xhtml in dvdstore to see if there are any processes but the list is empty. -
3. Re: Adding Jbpm to an existing Seam application
fady.matar Jun 26, 2007 8:09 AM (in response to robin.hultman)So you're saying that your database is there, it's properly created but no process has been deployed right?
What version of JBoss Seam are you using? -
4. Re: Adding Jbpm to an existing Seam application
robin.hultman Jun 26, 2007 9:12 AM (in response to robin.hultman)Yes, most likely it is just me that dont understand how this works.
When I run a method with the annotation @CreateProcess, am I suppose to get something in the processInstanceList then?
I am using Seam 1.2.1 -
5. Re: Adding Jbpm to an existing Seam application
bill.burke Jun 26, 2007 5:49 PM (in response to robin.hultman)What is the "path" to the execution of the method annotated with @CreateProcess. Is the method being executed in the context of a Seam web application?