Can we assign mulptiple swimalnes to a task??

What I want to ask is that; is there any possibilty through the "jPDL tags" to 
assign more than one groups or users (where each of the user is belongs to a 
different group, say there are 2 users one belonging to "Finance" group and the 
other belonging to "Marketting") to a task???

Will the jpdl look like the following in that case??

<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   xmlns="urn:jbpm.org:jpdl-3.2"  name="GrantingProcess">
  |    <swimlane name="Sales">
  |    </swimlane>
  |    <swimlane name="CM">
  |    </swimlane>
  |    <swimlane name="CD">
  |    </swimlane>
  |    <start-state name="start">
  |       <transition name="" to="CreateReservation"></transition>
  |    </start-state>
  |    <end-state name="end1"></end-state>
  |    <task-node name="CreateReservation">
  |       <task name="CreateReservation" swimlane="Sales, CM"></task>
  |       <transition name="" to="Grant Approval"></transition>
  |    </task-node>
  |    <task-node name="Grant Approval">
  |       <task name="GrantApproval" swimlane="CM, CD">
  |       </task>
  |       <transition name="" to="ApprovalDecision"></transition>
  |       
  |    </task-node>
  |    <decision name="ApprovalDecision" >
  |             <handler class = 
"com.framework.workflow.handlers.ApprovalHandler"/>    
  |       <transition name="Rejected" to="CreateReservation"></transition>
  |       <transition name="Approved" to="end1"></transition>
  |    </decision>
  | </process-definition>

Waiting for any help or suggestions.

Thanks in advance!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165245
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to