[jboss-user] [JBoss jBPM] - Re: jBPM 4.0 instance creation results in single task
shekharv
do-not-reply at jboss.com
Fri Jul 24 01:25:15 EDT 2009
The task is created when the execution reaches that stage in the processDefinition.
eg:
| <task assignee="alex" g="277,235,92,52" name="review1">
| <transition g="-73,-25" name="approved1" to="review2"/>
| </task>
| <task assignee="alex" g="277,235,92,52" name="review2">
| <transition g="-73,-25" name="approved2" to="audit"/>
| </task>
|
'review2' will not be created until 'review1' is completed.
Consider this:
| <task assignee="alex" g="277,235,92,52" name="review0">
| <transition g="-73,-25" name="approved1" to="review1"/>
| <transition g="-73,-25" name="approved2" to="review2"/>
| </task>
| <task assignee="alex" g="277,235,92,52" name="review1">
| <transition g="-73,-25" name="approved" to="review2"/>
| </task>
| <task assignee="alex" g="277,235,92,52" name="review2">
| <transition g="-73,-25" name="approved2" to="audit"/>
| </task>
|
You have two options in tasknode review1: unless you pick one of them while completing the task, the next task cannot be determined, so the next task will not be created up front.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245721#4245721
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245721
More information about the jboss-user
mailing list