5 Replies Latest reply on Jul 22, 2008 8:52 AM by Ronald van Kuijk

    Can we assign mulptiple swimalnes to a task??

    Sumit Shrivastava Newbie

      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!!