1 Reply Latest reply on Apr 26, 2010 10:07 AM by Sameer Tiwari

    Entering a swimlane tag in my process defination gives me an error

    Sameer Tiwari Newbie

      Hi,

       

      I have a processdefinition and am using Jpbm 3 version. If i enter a

       

      <swimlane name="buyer">
              <assignment actor-id="1"></assignment>
      </swimlane>

       

      tag in my processdefinition i get an error and am not able to deploy my processarchive.

       

      any suggestion why is this happening.

       

      for your reference i am pasting my defiinition here:

       

       

      <?xml version="1.0" encoding="UTF-8"?>

       

      <process-definition
        xmlns="http://jbpm.org/3/jpdl"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
        name="Purchase">
            <swimlane name="buyer">
              <assignment actor-id="1"></assignment>
          </swimlane>

       


          <start-state name="start">
              <transition to="PlaceOrder" name="trPlaceOrder"></transition>
          </start-state>
         <task-node name="PlaceOrder">
              <transition to="CheckAvailability" name="checkAvailability"></transition>
          </task-node>

       

          <decision name="CheckAvailability">
              <handler></handler>
              <transition to="GetFromStock" name="trGetFromStock"></transition>
              <transition to="Deliver" name="trDeliver"></transition>
          </decision>

       

          <state name="GetFromStock">
              <transition to="CheckAvailability" name="checkAvailability"></transition>
          <event type="node-enter">
              <action name="recharge"></action>
          </event>   
          </state>
          <task-node name="Deliver">
              <transition to="end-state1" name="trEnd"></transition>
          </task-node>
          <end-state name="end-state1"></end-state>
      </process-definition>

       

       

      Regards,

      Sameer