Is there a better way to do this? I'm trying to assign the actor in a task-assign
event in an ActionHandler, as so:
1. Set the group of pooled actors using a swimlane. (Uses our custom expression assignment
handler to fetch the users from LDAP).
2. Create a process variable which contains a string containing the actorId to be
assigned.
3. On 'task-assign', go to the custom action handler and check that the actor id
in the process variable exists in the group of pooled actors, and if so, set the actorId
on the task instance.
My problem here is that this then fires another 'task-assign' event, which then
goes into the action handler again and sets the actorId again, and then... recursively
does this until we stack overflow.
I have tried using the 'task-create' event, however it seems that this gets fired
before the expression assignment handler (so LDAP isn't queried for the pooled
actors).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130035#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...