-
1. Re: jbpm5.1 humantask and persistence
tob1as Sep 25, 2011 8:23 AM (in response to spascal)You mean, only the first human task is made persistent?
I just post the links to bpmn and java, makes it easier to look into the code.
https://github.com/pschaerf/jbpm-humantask/blob/master/src/main/resources/humanTask.bpmn
-
2. Re: jbpm5.1 humantask and persistence
spascal Sep 25, 2011 9:50 AM (in response to tob1as)You mean, only the first human task is made persistent?
Yes, it could be.
I have 4 main humantasks in the process:
- 1. Request Review
- 2a.Request Manager Approval
- 2b.Request User Approval
- 3. Request Notification
but only the "Request Review" appears in the list and can be execute.
-
3. Re: jbpm5.1 humantask and persistence
swiderski.maciej Sep 28, 2011 3:02 PM (in response to spascal)To me it looks like to be able to see all of them you first must trigger the nodes. At the beginning of you process only Review will be active so that's why you can find it on the list. Once that one will be completed flow will move on and activate the other human tasks and then they will be ready to be taken, in other words visible on the list.
HTH
-
4. Re: jbpm5.1 humantask and persistence
spascal Sep 29, 2011 2:43 PM (in response to swiderski.maciej)Thanks for your reply
I have fixed my first issue.
Now I have the problem that every task where dublicated.
So I have more than one task with the same taskid in my tasklist.
I have export the project to a maven project, so you can import and test it easier.
Start first the class "StartHumantaskServer" and than "StartHumantaskDemo".
-
5. Re: jbpm5.1 humantask and persistence
swiderski.maciej Oct 1, 2011 8:32 AM (in response to spascal)Glad to hear you are moving forward.
And where we can find this exported project?
-
6. Re: jbpm5.1 humantask and persistence
spascal Oct 4, 2011 3:39 AM (in response to swiderski.maciej) -
7. Re: jbpm5.1 humantask and persistence
salaboy21 Oct 9, 2011 3:07 AM (in response to spascal)This project shows how to use the human task component in a similar process that the one you have.. have you checked it?
https://github.com/esteban-aliverti/JBPM-Samples/tree/master/Simple-Human-Task-Sample
Cheers