[jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...}
ricardomarques
do-not-reply at jboss.com
Mon Jul 2 10:22:43 EDT 2007
I'm having a similar problem, but i'm using the expressions directly:
| <start-state name="enter request">
| <task name="request entry">
| <controller>
| <variable name="start date" access="read,write,required"></variable>
| <variable name="duration" access="read,write,required"></variable>
| </controller>
| <assignment expression="group(users)"></assignment>
| </task>
| <transition name="" to="evaluate request"></transition>
| </start-state>
|
Group users, has 2 users: grover and ernie
I start the instance with ernie, and the task appears on ernie tasklist and not in the group.
| cmd = new NewProcessInstanceCommand();
| cmd.setProcessId(Long.parseLong(pid));
| //cmd.setActorId(userName);
| cmd.setCreateStartTask(true);
|
| execute(cmd);
|
In this case, have tried to comment \ uncomment the actorid and the createstarttask and the behavior is the same.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059629#4059629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059629
More information about the jboss-user
mailing list