This content has been marked as final.
Show 3 replies
-
1. Re: re-assign actorId in task-assign event...
mwohlf Feb 18, 2008 2:57 PM (in response to sgrassie)just my 2 cent:
maybe I am missing your point, but in step 2 when you create the string with the actorId why don't you set the actorId directly on the swimlane and use the swimlane for the task? -
2. Re: re-assign actorId in task-assign event...
sgrassie Feb 19, 2008 3:38 AM (in response to sgrassie)"mwohlf" wrote:
just my 2 cent:
maybe I am missing your point, but in step 2 when you create the string with the actorId why don't you set the actorId directly on the swimlane and use the swimlane for the task?
It's a business requirement that only the people in a certain group are allowed to do certain tasks. The particular group is specified as an expression in a swimlane, and our our custom expression assignment handler fetches the users in the group from LDAP, and assigns them as pooled actors to the task.
Ideally what we'd like to happen is that users can see what tasks there are that they are allowed to do, and 'pick' them so that they are assigned to them; or, have those tasks assigned to them (step 2 in my original post).
I've resolved the problem I had in my original post - I just put some simple logic in the action handler that ensures it never enters into a loop. -
3. Re: re-assign actorId in task-assign event...
kukeltje Mar 1, 2008 7:21 AM (in response to sgrassie)Can you make a unittest that demonstrates the original problem and one with your fix? Put the processdefinition inline as 'string-xml'