Thanks to all, but not answer my question...
In this process:
A-B
A-C
A, B and C are task-nodes with one task each
When a user end the task in A, i want that the token stays in A (ok...signaling
off).
What i want next is that the users that can resume B and C can see in their
pending task
if the token stays in A there are no tasks in B and C (the tasknodes are not
entered yet)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4058678#4058678
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4058678
Ok, that's my point!
So what type of nodes i must use to have this kind of interface?
Fork node? ... using it, the token goes to B and C...and if the user choice B
can i suspend/terminate the token in C?
Decision node? if the token is in decision node, can i use findTaskInstances
method to
MindTheGap wrote : Ok, that's my point!
|
| So what type of nodes i must use to have this kind of interface?
|
| Fork node? ... using it, the token goes to B and C...and if the user choice
B can i suspend/terminate the token in C?
|
Yes, you can. We have done this with the following
Ok, thats right!
But in this case, findTaskInstances work?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4057964#4057964
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057964
MindTheGap wrote : Ok, thats right!
| But in this case, findTaskInstances work?
|
| Thanks!
findTaskInstances(actorID) shows you just the taskInstances who's actorID
equals the parameter and that are currently open (not ended). The actual HQL
query been done is:
select ti
| from
Here is the java code
| JbpmConfiguration jbpmConfiguration =
JbpmConfiguration.getInstance();
| jbpmContext = jbpmConfiguration.createJbpmContext();
| GraphSession graphSession = jbpmContext.getGraphSession();
|
| List
You could set node A's signalling off. This way it won't signal the token when
the taskInstance is end()ed. Then, after the end() you can signal it manually
to the correct transition.
Hope it helps.
View the original post :