[JBoss jBPM] - jBPM4 - Task Escalation with Timer
by djcye
Hi,
i try to figure out how to implement a time related reassignment of a task.
had someone already success in implementing this ?
currently working on:
first idea: use the assignmenthandler.. but i cant put it in the context of a timer..
second idea: use a second (java) node to reassing the first
| <task>
| <transition to="escalate java node">
| <timer duedate="10 seconds" />
| </transition>
| </task>
third idea: reassignment in the same task node
| <task>
| <on event="timeout">
| <timer diedate="5 seconds" />
| <eventlistener ...>
| </on event>
| </task>
in the second and third idea i have to access the task for reassignment without reassignment handler and i have to find the taskid somehow (use taskquery with processinstanceid and name ?).
is there an easier way ?
thx!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250576#4250576
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250576
16 years, 7 months
[JBoss jBPM] - JBPM application
by Kruno
I am using jboss 4.2.2 , jbpm 3.2.6.SP1.
I have installed jbpm in jboss through installer, configured jbpm to use postgresql,
installed graphical designer in eclipse, jbpm-console works fine, made my own processes and test run them trough jbpm-console.
Now I have my enterprise application, and I what to run process trough it
I keep getting exceptions like JMS not bound.
It is weird because same action like task.end("end") works from console but it does not work from my application.
Now I am pretty confused, I was under impression that I do not have to put jbpm configuration files in my application, that installation in JBOSS is enough because it has all configuration files in #JBOSS_HOME/server/default/deploy/jbpm/.
Am I wrong ?
If I am please could some one please instruct me how to embed JBPM in side my application.
I have read http://docs.jboss.org/jbpm/v3/userguide/deployment.html,
but I am still not sure what to do.
Thanks in advance
Kruno.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250575#4250575
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250575
16 years, 7 months
[JBoss jBPM] - Re: variable resolver
by sravyts
We want to create condition expressions on data that is not stored in task variables but in our own datastore. So we need to influence the way variables are resolved (this was perfectly ok how it worked in jbpm3:
extending JbpmVariableResolver and retrieving the variables from our datarepository)
Another option would be to create a java class which can handle some kind of expression language to generate a transition name, but I have a feeling this is duplicating code (juel is fine for us) and this also eliminates the possibility to use decision nodes (we have to change them to java nodes), which influences the process drawing in a way that it is not really correct.
Or is there some other solution you can think of? I liked the solution we did for jbpm3, that is way I was wondering if something similar will be created in jbpm4, but maybe there is another solution in jbpm4?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250535#4250535
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250535
16 years, 7 months