[jBPM Users] - Re: Awesome job with jBPM 4.1
by newcomer1
"unsavory" wrote : I just wanted to say what a great job you guys did with the jBPM 4.1 release. Not only was it released on time, but the support promised for Tomcat was also delivered. Thank you!
|
| As of 3:30AM this morning we now have 2 production application servers running jBPM 4.1 in Tomcat with Spring + JPA + Hibernate + JTA + JOTM.
|
| I struggled for a long time trying to get this configuration to work with jBPM 4 and I never quite got it working right. Most of the issues were related to the Job Executor which now starts like it is supposed to in this environment and actually executes jobs correctly (ie: can find the spring transaction manager). But it all worked as soon as I plugged jBPM 4.1 in.
|
| There are some JTA transaction issues with JOTM I'm struggling with in regards to rollbacks on exceptions, but I do not believe it is related to jBPM.
|
| Thanks again for a great product and a great release!
This sounds great! We are running jbpm 4 and had to roll our own transaction interceptor (and/or JtaTransaction implementation) to get the jobexecutor to play along with spring and jta.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258548#4258548
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258548
16 years, 6 months
[jBPM Users] - [jBPM4] Problem retrieving activities from history
by freiburger
Hi there,
I'm stuck with the following scenario using jBPM 4.1:
I have a simple fork/join pattern like
| [...]
| <fork name="Fork">
| <transition name="1" to="Node1"/>
| <transition name="2" to="Node2"/>
| </fork>
| <state name="Node1">
| <transition name="3" to="Join" />
| </state>
| <state name="Node2">
| <transition name="4" to="Join" />
| </state>
| <join name="Join">
| [...]
|
Now I'm trying to retrieve _all_ past activities from a running process instance. This is no problem using the history service as long as all child processes are still running by simply recursing into them and doing a query on each executions ID, but as soon as a child process has terminated I do see no way getting the IDs of them for building a history query on them. As far as I see the only place where the IDs are then stored in the DB is in the JBPM4_HIST_ACTINST table itsself, but before I can query it I would need exactly those IDs using another mechanism. I hope you understand my problem, to sum it up:
How do I get the IDs of terminated child executions of a running process instance?
Thanks for your help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258374#4258374
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258374
16 years, 6 months
[jBPM Users] - Re: How to get history variables and processInstanceId from
by npirard
[jBPM 4]
hello,
I think I need access to history variables too. Here is my need :
_ I create a process instance that does some stuff, and in particular creates a business object I will need to retrieve (an entity stored somewhere)
_ after the workflow is over, I would like to retrieve what it has created. So my idea was that my workflow would set a variable with the id of my business object, and after the workflow is finished I will search the history and get my variable.
it is easy when my workflow is not ended :
String businessId = (String) executionService.getVariable(processId, "businessId");
but when it is ended there is nothing in the API like I could do:
String businessId = (String) historyService.getVariable(processId, "businessId");
and I have not found any other way
so my question is : does the jBPM team intend to do something like that, so that the variable of history processes can be retrieved via the API ?
or maybe I overlooked something that already exists?
I searched the JIRA, but did not fully understand what was intended, especially with this one :
https://jira.jboss.org/jira/browse/JBPM-2398
the description : "expose the history that is in the database through the api" sounds nice, but then it seems to specialize on tasks, plus it seems a bit dead
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258338#4258338
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258338
16 years, 6 months