[jboss-user] [JBoss jBPM] - Re: process instance and groups

ricardomarques do-not-reply at jboss.com
Wed Jul 4 10:32:21 EDT 2007


btw continuing a bit my saga. The same process, now the full version:


  | <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>
  |    <end-state name="end"></end-state>
  |    <task-node name="evaluate request">
  |       <task name="entry evaluation">
  |          <controller>
  |             <variable name="start date" access="read"></variable>
  |             <variable name="duration" access="read"></variable>
  |             <variable name="info" access="read"></variable>
  |             <variable name="decision"></variable>
  |          </controller>
  |          <assignment expression="group(users)"></assignment>
  |       </task>
  |       <transition name="More info needed" to="give addition info"></transition>
  |       <transition name="approve/disapprove" to="end"></transition>
  |    </task-node>
  |    <task-node name="give addition info">
  |       <task name="additional info entry">
  |          <controller>
  |             <variable name="start date" access="read"></variable>
  |             <variable name="duration" access="read"></variable>
  |             <variable name="info"></variable>
  |          </controller>
  |          <assignment expression="group(users)"></assignment>
  |       </task>
  |       <transition name="" to="evaluate request"></transition>
  |    </task-node>
  | 

After I do the work on start task, i move on to another node (task), that node is assign to a group, still i don't get the not either on the user task list or the group task list.

I'm getting the group task list like this:


  | ArrayList list = new ArrayList();
  | list.add(this.username);
  |         
  | return jbpmContext.getGroupTaskList(list);
  | 

thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060497#4060497

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060497



More information about the jboss-user mailing list