cancel
Showing results for 
Search instead for 
Did you mean: 

workflow mail

maddy
Champ in-the-making
Champ in-the-making
Hay
i have 1 problem

when i do transition from one initiator to other user(group) then transition is done now again after task comming from that user to intiator. now i want to reassign that task to other user in same group then transition is takes place but task is going to 1st user again intend of selected user?

any know why?
3 REPLIES 3

sujaypillai
Confirmed Champ
Confirmed Champ
Are you using the default workflows in Alfresco OR a customized one? If customized then please share the process definition file.

maddy
Champ in-the-making
Champ in-the-making
Here is my processdefination.xml
here when we reassign the process to headnoter then the transition goes to first user not the selected user (headnoter) in task editReview.
plz rply fast!!!!!

and also where swimlane actor is defined????? which file i don't remeber now???
<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns="urn:jbpm.org:jpdl-3.1"  name="cwf:ctrprimaryprocess">

    <!– workflow users –>
       <swimlane name="initiator" />
      
        <swimlane name="editor">
           <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
                <actor>#{peopleExt.getPersonByProduct(bpm_package.children[0].displayPath)}</actor>
           </assignment>   
         </swimlane>
   

      <swimlane name="headnoter">
           <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
                <actor>#{cwf_headnoter}</actor>
           </assignment>   
         </swimlane>

       <swimlane name="reviewer">
           <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
                <actor>#{cwf_reviewer}</actor>
           </assignment>   
         </swimlane>

       <swimlane name="freviewer">
           <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
                <actor>#{cwf_freviewer}</actor>
           </assignment>   
         </swimlane>
  
      <!– Start Workflow –>

      <start-state name="start">
            <task name="cwf:formatterTask" swimlane="initiator" />
           <transition name="send for edit" to="edit">
               <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                       <script>
                             var doc = bpm_package.children[0];
                             doc.properties['cch:contentState']= "Editing In Process";
                             doc.save();
                           var taskName=bpm_package.children[0].properties['cm:name'];
                                logger.log("Task Name:::Smiley Embarassed>"+taskName);
                     </script>
               </action>
                <!– send mail –>
                <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                           <script>
                            logger.log("workflow mail start") ;
                           try{
                            var mail = actions.create("mail");
                            var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                            logger.log("user::"+userid);
                            var userNodeId  = people.getPerson(userid);
                            logger.log("user node id::"+userNodeId);
                            mail.parameters.to =userNodeId.properties.email;
                            logger.log("mail to  ::::"+userNodeId.properties.email);
                              mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                            mail.parameters.from = initiator.properties.email;
                            logger.log("mail from  ::::"+ initiator.properties.email);
                            mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                            mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                            mail.execute(bpm_package);
                             }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                            logger.log("workflow mail sent ") ;
                        </script>
                     </action>
           </transition>
     </start-state>

   <!– Editor Task –>
   <task-node name="edit">
       <task name="cwf:editHeadnoteTask" swimlane="editor">
            <event type="task-create">
                <script>
                   if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                   if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
                </script>
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
            </event>
       </task>
     
         <!– if Approved–>
       <transition name="approve" to="approved">
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                   <script>
                          var doc = bpm_package.children[0];
                          doc.properties['cch:contentState']= "Editing In Process";
                          doc.save();
                 </script>
           </action>   
           <!– send mail –>
           <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                     logger.log("workflow mail start") ;
                    try{
                     var mail = actions.create("mail");
                    var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);
                                mail.parameters.from =userNodeId.properties.email;
                    logger.log("mail from  ::::"+userNodeId.properties.email);
                    mail.parameters.subject = "You have been assigned  task for " +bpm_workflowDescription;
                    mail.parameters.to = cwf_headnoter.properties.email;
                    logger.log("mail to  ::::"+ cwf_headnoter.properties.email);
                    mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                    mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                    mail.execute(bpm_package);
                     }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                                   logger.log("workflow mail sent ") ;
                </script>
               </action>
       </transition>
        
        <!– if Rejected –>
        <transition name="reject" to="format">
              <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                 <script>
                    var doc = bpm_package.children[0];
                    doc.properties['cch:contentState']= "Editing In Process";
                    doc.save();
               </script>
            </action>
             <!– send mail –>
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                    logger.log("workflow mail start") ;
                   try{
                   var mail = actions.create("mail");
                         var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);
                               mail.parameters.from =userNodeId.properties.email;
                   logger.log("mail from  ::::"+userNodeId.properties.email);
                   mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                   mail.parameters.to = initiator.properties.email;
                   logger.log("mail to  ::::"+ initiator.properties.email);
                   mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                   mail.parameters.text = "Kindly edit and approve the document: " +bpm_workflowDescription;
                   mail.execute(bpm_package);
                    }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                        logger.log("workflow mail sent ") ;
                </script>
               </action>
      </transition>
   </task-node>
  
   <task-node name="approved">
      <!–  <task name="wf:approvedTask" swimlane="headnoter" /> –>
      <transition name="" to="headnote" />
   </task-node>
     
   <!– Headnoter Task –>
   <task-node name="headnote">
       <task name="cwf:headnoterTask" swimlane="headnoter">
            <event type="task-create">
              <script>
               if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
               if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
           </script>
           <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
            </event>
          <timer duedate="#{cwf_headNoterTAT}" transition="for edit review" >
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                   <script>
                      logger.log("HeadNoter Submission to be completed by " + cwf_headNoterTAT);
                   </script>
                </action>
             </timer>
         </task>
      <transition name="for edit review" to="editReview">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                 <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Editing In Process";
                       doc.save();
               </script>
          </action>
         
          <!– send mail –>
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                      logger.log("workflow mail start") ;
                     try{
                     var mail = actions.create("mail");
                     var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);               
                      mail.parameters.to =userNodeId.properties.email;
                      logger.log("mail to  ::::"+userNodeId.properties.email);
                        mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                      mail.parameters.from = cwf_headnoter.properties.email;
                      logger.log("mail from  ::::"+ cwf_headnoter.properties.email);
                      mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                      mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                      mail.execute(bpm_package);
                       }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                      logger.log("workflow mail sent ") ;
                  </script>
              </action>   
      </transition>    
   </task-node>
<task-node name="editReview">
       <task name="cwf:editHReassignTask" swimlane="editor">
            <event type="task-create">
                <script>
                   if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                   if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
                </script>
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
            </event>
       </task>
     
         <!– if want to Reassign–>
       <transition name="Reassign" to="Reassign">
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                   <script>
                          var doc = bpm_package.children[0];
                          doc.properties['cch:contentState']= "Editing In Process";
                          doc.save();
                 </script>
           </action>   
           <!– send mail –>
           <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                     logger.log("workflow mail start inside Reassign1") ;
                    try{
                     var mail = actions.create("mail");
                     var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                    logger.log("user::"+userid);
                    var userNodeId  = people.getPerson(userid);
                    logger.log("user node id::"+userNodeId);
                          mail.parameters.from =userNodeId.properties.email;
                    logger.log("mail from  ::::"+userNodeId.properties.email);
                    mail.parameters.subject = "You have been assigned  task for " +bpm_workflowDescription;
                    mail.parameters.to = cwf_headnoter.properties.email;
                    logger.log("mail to  ::::"+cwf_headnoter.properties.email);
                    logger.log("mail to new  ::::"+cwf_headnoter1.properties["cm:email"]);
                    mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                    mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                    mail.execute(bpm_package);
                     }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                                   logger.log("workflow mail sent from editor inside Reassign1 ") ;
                </script>
               </action>
       </transition>
        
        <!– if Ok –>
        <transition name="OK" to="OK">
              
      </transition>
   </task-node>
    <task-node name="Reassign">
        <transition name="" to="headnote" />
   </task-node>

    <task-node name="OK">
        <transition name="" to="editReview1" />
    </task-node>
   <!– Editor Task –>
   <task-node name="editReview1">
       <task name="cwf:editReviewTask" swimlane="editor">
             <event type="task-create">
                <script>
                   if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                   if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
                </script>
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
            </event>
        </task>

         <!–if Approved –>
        <transition name="approve" to="approved1">
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Editing In Process";
                       doc.save();
            </script>
        </action>   
          <!– send mail –>
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                     logger.log("workflow mail start") ;
                    try{
                    var mail = actions.create("mail");
                       var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);
                                mail.parameters.from =userNodeId.properties.email;
                    logger.log("mail from  ::::"+userNodeId.properties.email);
                    mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                    mail.parameters.to = cwf_reviewer.properties.email;
                    logger.log("mail to  ::::"+ cwf_reviewer.properties.email);
                    mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                    mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                    mail.execute(bpm_package);
                     }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                          logger.log("workflow mail sent ") ;
                </script>
            </action>
         </transition>
       
       <!– if Rejected–>
         <transition name="reject" to="rejected1">
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                 <script>
                          var doc = bpm_package.children[0];
                          doc.properties['cch:contentState']= "Editing In Process";
                          doc.save();
               </script>
            </action>
            <!– send mail –>
           <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                        <script>
                        logger.log("workflow mail start") ;
                       try{
                       var mail = actions.create("mail");
                          var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                         logger.log("user::"+userid);
                         var userNodeId  = people.getPerson(userid);
                         logger.log("user node id::"+userNodeId);
                                   mail.parameters.from =userNodeId.properties.email;
                       logger.log("mail from  ::::"+userNodeId.properties.email);
                        mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                       mail.parameters.to = cwf_headnoter.properties.email;
                       logger.log("mail to  ::::"+ cwf_headnoter.properties.email);
                       mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                       mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                       mail.execute(bpm_package);
                        }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                             logger.log("workflow mail sent ") ;
                   </script>
               </action>
        </transition>
      </task-node>
  
   <task-node name="rejected1">
      <!–  <task name="wf:rejectedTask" swimlane="headnoter" /> –>
        <transition name="" to="headnote" />
   </task-node>

    <task-node name="approved1">
     <!–   <task name="wf:approvedTask" swimlane="reviewer" /> –>
        <transition name="" to="review" />
    </task-node>

   <!–Reviewer Task  –>
   <task-node name="review">
          <task name="cwf:reviewerTask" swimlane="reviewer">
               <event type="task-create">
                   <script>
                      if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                      if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
                   </script>
               <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
               </event>
          </task>
         <!– if Approved –>
        <transition name="approve" to="approved2">
             <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Editing In Process";
                       doc.save();
            </script>
            </action>
          <!– send mail –>
           <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                     logger.log("workflow mail start") ;
                    try{
                    var mail = actions.create("mail");
                     mail.parameters.from =cwf_reviewer.properties.email;
                    logger.log("mail from  ::::"+cwf_reviewer.properties.email);
                    mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                    mail.parameters.to = cwf_freviewer.properties.email;
                    logger.log("mail to  ::::"+ cwf_freviewer.properties.email);
                    mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                    mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                    mail.execute(bpm_package);
                     }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                          logger.log("workflow mail sent ") ;
                </script>
            </action>
      </transition>
       <!– if Rejected –>
       <transition name="reject" to="rejected2">
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Editing In Process";
                       doc.save();
            </script>
         </action>   
        <!– send mail –>
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                      logger.log("workflow mail start") ;
                     try{
                      var mail = actions.create("mail");
                     var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);
                      mail.parameters.to =userNodeId.properties.email;
                      logger.log("mail to  ::::"+userNodeId.properties.email);
                        mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                      mail.parameters.from = cwf_reviewer.properties.email;
                      logger.log("mail from  ::::"+ cwf_reviewer.properties.email);
                      mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                      mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                      mail.execute(bpm_package);
                       }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                      logger.log("workflow mail sent ") ;
                  </script>
              </action>   
   </transition>
    </task-node>
  
   <task-node name="rejected2">
     <!–   <task name="wf:rejectedTask" swimlane="editor" /> –>
        <transition name="" to="editReview" />
    </task-node>

    <task-node name="approved2">
      <!–  <task name="wf:approvedTask" swimlane="freviewer" /> –>
        <transition name="" to="freview" />
    </task-node>


<!– Final Reviewer Task  –>
   <task-node name="freview">
       <task name="cwf:fReviewerTask" swimlane="freviewer">
            <event type="task-create">
                <script>
                   if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
                   if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
                </script>
            <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
            </event>
          </task>
      <transition name="Publish" to="end">
       <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Published";
                       doc.save();
            </script>
         </action>   
     </transition>
     <transition name="reject" to="rejected3">
    <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
              <script>
                       var doc = bpm_package.children[0];
                       doc.properties['cch:contentState']= "Editing In Process";
                       doc.save();
            </script>
         </action>   
       <!– send mail –>
        <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                     logger.log("workflow mail start") ;
                    try{
                    var mail = actions.create("mail");
                     mail.parameters.from =cwf_freviewer.properties.email;
                    logger.log("mail from  ::::"+cwf_freviewer.properties.email);
                    mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                    mail.parameters.to = cwf_reviewer.properties.email;
                    logger.log("mail to  ::::"+ cwf_reviewer.properties.email);
                    mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                    mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                    mail.execute(bpm_package);
                     }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                          logger.log("workflow mail sent ") ;
                </script>
            </action>    
   </transition>
    </task-node>
  
   <task-node name="rejected3">
     <!–   <task name="wf:rejectedTask" swimlane="editor" /> –>
        <transition name="" to="review" />
    </task-node>

  
   <!– Formatter Task  –>
   <task-node name="format">
      <task name="wf:formatterTask" swimlane="initiator">
         <event type="task-create">
            <script>
          
               if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
               if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
            </script>
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>
                  taskInstance.description =bpm_package.children[0].properties['cm:name'];

            </script>
            </action>
         </event>
        </task>
      <transition name="" to="edit">
       <!– send mail –>
          <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
                     <script>
                      logger.log("workflow mail start") ;
                             try{
                      var mail = actions.create("mail");
                     var userid =  peopleExt.getPersonByProduct(bpm_package.children[0].displayPath) ;
                      logger.log("user::"+userid);
                      var userNodeId  = people.getPerson(userid);
                      logger.log("user node id::"+userNodeId);
                      mail.parameters.to =userNodeId.properties.email;
                      logger.log("mail to  ::::"+userNodeId.properties.email);
                        mail.parameters.subject = "You have been assigned  task for " + bpm_workflowDescription;
                      mail.parameters.from = initiator.properties.email;
                      logger.log("mail from  ::::"+ initiator.properties.email);
                      mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/Workflow Notification/wf-email.html.ftl");
                      mail.parameters.text = "Kindly edit and approve the document: " + bpm_workflowDescription;
                      mail.execute(bpm_package);
                       }
                             catch(exception){

                         logger.log("exception in mail ::"+exception);
                      }
                      logger.log("workflow mail sent ") ;
                  </script>
               </action>
      </transition>
     </task-node>


<!– End Task –>
   <end-state name="end" />

</process-definition>

maddy
Champ in-the-making
Champ in-the-making
where Swimlane actor is defined if any one know???