-
1. Re: Task assignment to group or pooledActors
kukeltje Jan 3, 2007 8:32 PM (in response to sxj)please post a unit test...
-
2. Re: Task assignment to group or pooledActors
fuligj Jan 9, 2007 6:06 AM (in response to sxj)I have the same problem. When I use swimlane group(group-name), in the workflow, when the previous task completed, the message is the following: "A new task has been assigned to 'null' " and the task assigned to nobody. The group exists and has member.
What does it mean: "unit test"?
Thanks -
3. Re: Task assignment to group or pooledActors
fuligj Jan 10, 2007 5:45 AM (in response to sxj)So, can anyone give a solution for assign a task to a group?
-
4. Re: Task assignment to group or pooledActors
sxj Jan 10, 2007 10:45 AM (in response to sxj)I also have the same doubt and am not sure what u mean by unit test ?
-
6. Re: Task assignment to group or pooledActors
fuligj Jan 11, 2007 10:32 AM (in response to sxj)Thanks for the reply,
but we need something more specific about the unit test. Please, write down some instructions.
best regards! -
7. Re: Task assignment to group or pooledActors
jayramak Jan 11, 2007 10:52 AM (in response to sxj)I have the same issue assigning the task to multiple actors. I tried the assignment element within both the task and swimlane elements,
as below:
<assignment pooled-actors="x,y" />
<assignment expression="group(sales") />
But both of the above (used either within task or swimlane elements), results in "task has been assigned to null". and it is assigned to noone.
The db is set to have the those users and groups in jbpm_id_user and jbpm_id_group and jbpm_id_membership.
BTW, Is the swimlanes meant for a single actor only ??...
pls, help -
8. Re: Task assignment to group or pooledActors
kukeltje Jan 11, 2007 11:43 AM (in response to sxj)@Fulgi:
Without wanting to sound rude, I'd suggest the first step should be to take some classes (pun intended). The second step would be to take a good look at all relevant testcases.
The third thing I'd do is search the forum/web a little, you might be surprised what you will find
Besides that I have a suggestion for future posts:
- Tell what version you are using
- Do you use the webapp or a class
- Are there any errors in the log
- ...
Oh and remember ..... :-) -
9. Re: Task assignment to group or pooledActors
fuligj Jan 16, 2007 6:56 AM (in response to sxj)Thank You for the reply Ronald!
I'm sorry for my mistakes and my bad english too.
So, I use jbpm-starters-kit-3.1.3 and i use the webapp at http://localhost:8080/jbpm.
I have read a lot of topics, among others:
http://jboss.com/index.html?module=bb&op=viewtopic&t=98892
http://jboss.com/index.html?module=bb&op=viewtopic&t=80556
but I can't find a working solution.
When I create swimlane 'user(username)' everything works fine, but when i change only this swimlane to group(groupname) the assignment don't works.
For example:
After i have sent task 'accept' to a group 'boss', in the table jbpm_pooledactor a new row come into being with column ACTORID_: 'boss'. But in the table jbpm_swimlaneinstance the (task 'accept')'s swimlane's actorid is null.
Is that correct?
best regards! -
10. Re: Task assignment to group or pooledActors
kukeltje Jan 16, 2007 10:44 AM (in response to sxj)Yes that is correct behaviour. If someone from the group wants to carry out the task and have it in his own tasklist, put his id in the actorid field, but LEAVE the group actorid filled. That way you can reassign back to the group by making the normal actorid null
-
11. Re: Task assignment to group or pooledActors
webjavier Jan 16, 2007 3:18 PM (in response to sxj)In the version jbpm3.2aplha1, to assign a task to a group works fine.
tha list with the tasks to the group is in the source code (see org.jbpm.webapp.bean...), you can get with the method: getPoledTaskInstances.
Sorry with my english -
12. Re: Task assignment to group or pooledActors
nop11 Jan 22, 2007 1:00 PM (in response to sxj)Hi,
I use jbpm-starters-kit-3.2.1 and I have the same problem.
When I use swimlane with user expression, that works fine but I don't get to use group expression ) .
I defined users, groups and memberships and that is ok but it don't work fine.
I don't want to use a alpha version, can anyone help me?
thanks and sorry with my english. -
13. Re: Task assignment to group or pooledActors
nop11 Jan 22, 2007 1:19 PM (in response to sxj)sorry, I use jbpm-staters-kit-3.1.2
----------
Hi,
I use jbpm-starters-kit-3.1.2 and I have the same problem.
When I use swimlane with user expression, that works fine but I don't get to use group expression ) .
I defined users, groups and memberships and that is ok but it don't work fine.
I don't want to use a alpha version, can anyone help me?
thanks and sorry with my english.