[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread patrickdalla
HI, everybody, I think the problem is that: JbpmContext.getCurrentJbpmContext().getTaskMgmtSession().findTaskInstances(userName); Does not return the tasks that were assigned to a group that the user is member of. JBPM core doesn't implement the relationship between group and user

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread patrickdalla
The code for the HomeBean getTaskInstances method should be: public List getTaskInstances() { List actorsList = new ArrayList(); actorsList.add(userBean.getUserName()); Iterator i = userBean.getUser().getMemberships().iterator(); while(i.hasNext()){

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread boerse
does it work this way? have you tried it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927189#3927189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927189 --- This

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread [EMAIL PROTECTED]
patrickdalla wrote : The code for the HomeBean getTaskInstances method should be: | | | public List getTaskInstances() { | List actorsList = new ArrayList(); | actorsList.add(userBean.getUserName()); | | Iterator i = userBean.getUser().getMemberships().iterator();

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-03-01 Thread boerse
What I understand is that the assignation as is described in the documentation does not work, but I wonder why it is not being recognized *oficially*. Can't you just say?: no, for the moment being it does not work, so don't waste your time making 100 tries with something you won't get.

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-24 Thread boerse
Hi Elmo, thanks a lot for your reply, now i have to finish some othe tasks and i'm in a hurry, but as soon as i can i'll give it a try! Hope it helps other ppl of this forum, too! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926029#3926029 Reply to the post

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-23 Thread boerse
Hi Elmo and thanks for your reply! What you said is exactly what i want to make (and many of us, i suppose): a timer and 2 or more users, first-come-first serve and keep on working. That's the right point and what in the paper pefectly works, i tried again (as i had already done

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-23 Thread enazareno
Hi boerse, I will try to share my solution to you. I assume you already know how to add groups, users and membership. You try the solution | swimlane name=approver | assignment expression=group(groupname)/ | /swimlane | When it creates the

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread boerse
Hi Elmo, enazareno wrote : | From what i understand of task assigned to pooled actors, only one actor can accomplish the task, but that user must belong to the pooled actors set. So if you check the actorid when a task is assigned to a pooled actor, the value is null. So its a first

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread enazareno
Hi boerse, As for my case, to get the pending tasks for pooled actors, I did not go via hibernate, i used plain jdbc (for some reasons). BTW, when signalling tasks, you can specify particular transitions. Example if the system ends the task, it can signal the task with a specific

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread boerse
Hi Elmo, thank you for your quick reply: My code is more or less: task-node name=order create-tasks=true signal=last | task swimlane=admin name=Control | controller | variable name=var1 access=read/ | variable name=var2 access=read/ | /controller |

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-22 Thread enazareno
Hi boerse, anonymous wrote : The main point is that tasks always take their default transition (confirm in my case) and i don't want to execute twice the same action in that node. If you want to end tasks that goes to a certain transition, if I remember, you can signal it this way (make

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread mennen
i tried several ways but it never worked out either. Would appreciate it a lot if someone gave us an example as to how to assign a task to 2 users.. Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925323#3925323 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
hi mennen! Nice to read you, i know you had the same problem and we never found a solution, hope anyone helps (it there is a solution). I think it's something very usefull for all us... P.s. how's your develop going? View the original post :

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread mennen
Hey boerse! i'm getting to know jbpm little by little, i think it it's really powerful if you master most of it.. I solved many problems by myself, but it's really time-consuming though.. hope your development's doing well too. View the original post :

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
:) So do i, and i agree with you: superpowerful but time consuming. My develop is currently stoped because 2 related problems (one of them is multiuser assignment) and how to end a task. If you (or someone) needs help, if i know, i'll be pleased to help... Hope someone can help us with this

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread forJbpm
Hey! I am in too!!! :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925396#3925396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925396 --- This SF.net email is

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
What a shock, i thought i had an answer... :( We can organize a club... To the other users: PLEASE HELP! My mail (to colaborate) speichre at gmail dot com View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925403#3925403 Reply to the post :

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread fmuhlenberg
For your 2 user task assignment, why not create two tasks so there is a 1:1 relationship between a task and user. When one task is completed, you could always programatically check -- you have to write an action class anyway, the other task and end it if desired. -fm View the original post :

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread boerse
Hello fmuhlenberg! Thank you for the response. I'm already trying to to as you say, but i have a problem: (correct me if i'm wrong): in a task node with 2 (or more) tasks you can only assign an action (per task) under the event task-end (ok, task-start ok, but it's too early), so if i want

[JBoss-user] [JBoss jBPM] - Re: Assign a task to 2 users, how please?

2006-02-21 Thread enazareno
Hi boerse, From what i understand of task assigned to pooled actors, only one actor can accomplish the task, but that user must belong to the pooled actors set. So if you check the actorid when a task is assigned to a pooled actor, the value is null. So its a first come first serve.