summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-05-05 02:24:38 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-05-05 02:24:38 (GMT)
commit19178202a3271b3a3f3cd6f618a2ab96f6277539 (patch)
tree8a1d0f5324d6d992942847b3ece08b79e5b99e74
parent970e8cb5218710b365ce5d5adfcff3879b3d26aa (diff)
download2ii55-19178202a3271b3a3f3cd6f618a2ab96f6277539.zip
2ii55-19178202a3271b3a3f3cd6f618a2ab96f6277539.tar.gz
2ii55-19178202a3271b3a3f3cd6f618a2ab96f6277539.tar.bz2
all files
-rw-r--r--yawl/WarehouseWarehouse/WarehouseWarehouse.pngbin0 -> 50742 bytes
-rw-r--r--yawl/WarehouseWarehouse/WarehouseWarehouse_resourced.xml861
-rw-r--r--yawl/WarehouseWarehouse/Warehouse_Warehouse_resourced.ywlbin39169 -> 38803 bytes
3 files changed, 861 insertions, 0 deletions
diff --git a/yawl/WarehouseWarehouse/WarehouseWarehouse.png b/yawl/WarehouseWarehouse/WarehouseWarehouse.png
new file mode 100644
index 0000000..ab10212
--- /dev/null
+++ b/yawl/WarehouseWarehouse/WarehouseWarehouse.png
Binary files differ
diff --git a/yawl/WarehouseWarehouse/WarehouseWarehouse_resourced.xml b/yawl/WarehouseWarehouse/WarehouseWarehouse_resourced.xml
new file mode 100644
index 0000000..496459b
--- /dev/null
+++ b/yawl/WarehouseWarehouse/WarehouseWarehouse_resourced.xml
@@ -0,0 +1,861 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<specificationSet xmlns="http://www.citi.qut.edu.au/yawl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="Beta 7.1" xsi:schemaLocation="http://www.citi.qut.edu.au/yawl d:/yawl/schema/YAWL_SchemaBeta7.1.xsd">
+ <specification uri="WarehouseWarehouse_01">
+ <metaData>
+ <title>Warehouse Warehouse</title>
+ <creator>oliver</creator>
+ <description>Warehouse order and restock system</description>
+ <version>0.1</version>
+ </metaData>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:complexType name="WarehouseInspect">
+ <xs:sequence>
+ <xs:element name="WarehouseEmployeeID" type="xs:long" />
+ <xs:element name="InspectionDate" type="xs:date" />
+ <xs:element name="WarehouseID" type="xs:long" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="item">
+ <xs:sequence>
+ <xs:element name="ProductID" type="xs:long" />
+ <xs:element name="ProductName" type="xs:string" />
+ <xs:element name="MaxQuantity" type="xs:long" />
+ <xs:element name="MinQuantity" type="xs:long" />
+ <xs:element name="CurQuantity" type="xs:long" />
+ <xs:element name="PurchasePrice" type="xs:double" />
+ <xs:element name="RentalPrice" type="xs:double" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="productList">
+ <xs:sequence>
+ <xs:element maxOccurs="12" minOccurs="10" name="Item" type="item" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="InspectQuantityList">
+ <xs:sequence>
+ <xs:element maxOccurs="1" minOccurs="1" name="ProductList" type="productList" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:simpleType name="GoodsQualityCheckType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="Goods in good shape." />
+ <xs:enumeration value="Goods not so good shape." />
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="GoodsQuantityCheckType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="Quantity in good shape." />
+ <xs:enumeration value="Quantity not so good shape." />
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="SpaceCheckType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="Space no Good." />
+ <xs:enumeration value="Space Good." />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:schema>
+ <decomposition id="WarehouseWarehouse" isRootNet="true" xsi:type="NetFactsType">
+ <localVariable>
+ <name>CurQuantity</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue>0</initialValue>
+ </localVariable>
+ <localVariable>
+ <name>GoodsQuality</name>
+ <type>GoodsQualityCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue />
+ </localVariable>
+ <localVariable>
+ <name>GoodsQuantity</name>
+ <type>GoodsQuantityCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue />
+ </localVariable>
+ <localVariable>
+ <name>OrderID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue />
+ </localVariable>
+ <localVariable>
+ <name>ProductID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue>0</initialValue>
+ </localVariable>
+ <localVariable>
+ <name>ProductsInWarehouse</name>
+ <type>InspectQuantityList</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue>&lt;ProductList&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;1&lt;/ProductID&gt;
+ &lt;ProductName&gt;Hard Plastic Cups 200cc&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1000&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;4514&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;0.35&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;0.01&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;2&lt;/ProductID&gt;
+ &lt;ProductName&gt;Soft Plastic Cups 200cc&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1000&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;3251&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;0.25&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;0.23&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;3&lt;/ProductID&gt;
+ &lt;ProductName&gt;Hard Plastic Cups 500cc&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1000&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;326&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;0.70&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;0.05&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;4&lt;/ProductID&gt;
+ &lt;ProductName&gt;Soft Plastic Cups 500cc&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1000&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;1632&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;0.65&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;0.61&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;5&lt;/ProductID&gt;
+ &lt;ProductName&gt;Draft&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1000&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;126&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;2361.23&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;100&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;6&lt;/ProductID&gt;
+ &lt;ProductName&gt;Keg&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;100&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;10&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;52&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;49.99&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;49.99&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;7&lt;/ProductID&gt;
+ &lt;ProductName&gt;Chair&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10000&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;100&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;352&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;24.95&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;9.95&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;8&lt;/ProductID&gt;
+ &lt;ProductName&gt;Table&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;100&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;10&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;12&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;99.95&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;14.95&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;9&lt;/ProductID&gt;
+ &lt;ProductName&gt;Party Tent&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;324&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;34.95&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;12.95&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+ &lt;Item&gt;
+ &lt;ProductID&gt;10&lt;/ProductID&gt;
+ &lt;ProductName&gt;Stripper&lt;/ProductName&gt;
+ &lt;MaxQuantity&gt;10&lt;/MaxQuantity&gt;
+ &lt;MinQuantity&gt;1&lt;/MinQuantity&gt;
+ &lt;CurQuantity&gt;3&lt;/CurQuantity&gt;
+ &lt;PurchasePrice&gt;10000000&lt;/PurchasePrice&gt;
+ &lt;RentalPrice&gt;999.99&lt;/RentalPrice&gt;
+ &lt;/Item&gt;
+&lt;/ProductList&gt;</initialValue>
+ </localVariable>
+ <localVariable>
+ <name>SpaceCheck</name>
+ <type>SpaceCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue />
+ </localVariable>
+ <localVariable>
+ <name>WarehouseID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue />
+ </localVariable>
+ <localVariable>
+ <name>WarehouseInspector</name>
+ <type>WarehouseInspect</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ <initialValue>&lt;WarehouseEmployeeID&gt;1&lt;/WarehouseEmployeeID&gt;
+&lt;InspectionDate&gt;2008-04-29&lt;/InspectionDate&gt;
+&lt;WarehouseID&gt;1&lt;/WarehouseID&gt;</initialValue>
+ </localVariable>
+ <processControlElements>
+ <inputCondition id="InputCondition_1">
+ <flowsInto>
+ <nextElementRef id="Inspect_Goods_4_3" />
+ </flowsInto>
+ </inputCondition>
+ <task id="Inspect_Goods_4_3">
+ <name>Inspect Goods 4</name>
+ <flowsInto>
+ <nextElementRef id="null_4" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;WarehouseInspector&gt;&lt;WarehouseEmployeeID&gt;{/To_start_enter_the_following_information./EmployeeID/text()}&lt;/WarehouseEmployeeID&gt; &lt;InspectionDate&gt;{/To_start_enter_the_following_information./inspect_date/text()}&lt;/InspectionDate&gt; &lt;WarehouseID&gt;1&lt;/WarehouseID&gt;&lt;/WarehouseInspector&gt;" />
+ <mapsTo>WarehouseInspector</mapsTo>
+ </mapping>
+ <mapping>
+ <expression query="&lt;ProductID&gt;{/To_start_enter_the_following_information./EmployeeID/text()}&lt;/ProductID&gt;" />
+ <mapsTo>ProductID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="To_start_enter_the_following_information." />
+ </task>
+ <condition id="null_4">
+ <flowsInto>
+ <nextElementRef id="Check_Quantity_12_308" />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Check_Date_1_1097" />
+ </flowsInto>
+ </condition>
+ <task id="Check_Date_1_1097">
+ <name>Check Date 1</name>
+ <flowsInto>
+ <nextElementRef id="Update_Date_2_1099" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;ProductID&gt;{/Input_the_following_information_on_the_product_being_date-checked./ProductID/text()}&lt;/ProductID&gt;" />
+ <mapsTo>ProductID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Input_the_following_information_on_the_product_being_date-checked." />
+ </task>
+ <task id="Check_Quantity_12_308">
+ <name>Check Quantity 12</name>
+ <flowsInto>
+ <nextElementRef id="Update_Quantity_12_309" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;ProductID&gt;{/Please_supply_the_following_for_the_current_product./ProductID/text()}&lt;/ProductID&gt;" />
+ <mapsTo>ProductID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Please_supply_the_following_for_the_current_product." />
+ </task>
+ <task id="Update_Quantity_12_309">
+ <name>Update Quantity 12</name>
+ <flowsInto>
+ <nextElementRef id="null_976" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <startingMappings>
+ <mapping>
+ <expression query="&lt;CurrentQuantity&gt;{/WarehouseWarehouse/ProductsInWarehouse/ProductList/Item[ProductID=/WarehouseWarehouse/ProductID/text()]/CurQuantity/text()}&lt;/CurrentQuantity&gt;" />
+ <mapsTo>CurrentQuantity</mapsTo>
+ </mapping>
+ <mapping>
+ <expression query="&lt;ProductName&gt;{/WarehouseWarehouse/ProductsInWarehouse/ProductList/Item[ProductID=/WarehouseWarehouse/ProductID/text()]/ProductName/text()}&lt;/ProductName&gt;" />
+ <mapsTo>ProductName</mapsTo>
+ </mapping>
+ </startingMappings>
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;CurQuantity&gt;{/Input_the_new_Quantity_for_the_following_product./CurrentQuantity/text()}&lt;/CurQuantity&gt;" />
+ <mapsTo>CurQuantity</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Input_the_new_Quantity_for_the_following_product." />
+ </task>
+ <task id="Update_Date_2_1099">
+ <name>Update Date 2</name>
+ <flowsInto>
+ <nextElementRef id="null_1098" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <startingMappings>
+ <mapping>
+ <expression query="&lt;CurrentQuantity&gt;{/WarehouseWarehouse/ProductsInWarehouse/ProductList/Item[ProductID=/WarehouseWarehouse/ProductID/text()]/CurQuantity/text()}&lt;/CurrentQuantity&gt;" />
+ <mapsTo>CurrentQuantity</mapsTo>
+ </mapping>
+ <mapping>
+ <expression query="&lt;ProductName&gt;{/WarehouseWarehouse/ProductsInWarehouse/ProductList/Item[ProductID=/WarehouseWarehouse/ProductID/text()]/ProductName/text()}&lt;/ProductName&gt;" />
+ <mapsTo>ProductName</mapsTo>
+ </mapping>
+ </startingMappings>
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;CurQuantity&gt;{/After_descarding_any_out_of_date_or_unusable_producs_enter_the_new_Quantity_of_the_following_Product./CurrentQuantity/text()}&lt;/CurQuantity&gt;" />
+ <mapsTo>CurQuantity</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="After_descarding_any_out_of_date_or_unusable_producs_enter_the_new_Quantity_of_the_following_Product." />
+ </task>
+ <condition id="null_1098">
+ <flowsInto>
+ <nextElementRef id="Order_Goods_5_7" />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Check_Date_1_1097" />
+ </flowsInto>
+ </condition>
+ <condition id="null_976">
+ <flowsInto>
+ <nextElementRef id="Order_Goods_5_7" />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Check_Quantity_12_308" />
+ </flowsInto>
+ </condition>
+ <task id="Order_Goods_5_7">
+ <name>Order Goods 5</name>
+ <flowsInto>
+ <nextElementRef id="Receive_Order_1_1124" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;OrderID&gt;{/After_placing_the_order_with_the_supplier_input_the_OrderID_here./OrderID/text()}&lt;/OrderID&gt;" />
+ <mapsTo>OrderID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="After_placing_the_order_with_the_supplier_input_the_OrderID_here." />
+ </task>
+ <task id="Receive_Order_1_1124">
+ <name>Receive Order 1</name>
+ <flowsInto>
+ <nextElementRef id="Check_Quality_3_1129" />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Check_Quantity_13_1127" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <startingMappings>
+ <mapping>
+ <expression query="&lt;OrderID&gt;{/WarehouseWarehouse/OrderID/text()}&lt;/OrderID&gt;" />
+ <mapsTo>OrderID</mapsTo>
+ </mapping>
+ </startingMappings>
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;OrderID&gt;{/Enter_the_details_of_the_Received_Order_below./OrderID/text()}&lt;/OrderID&gt;" />
+ <mapsTo>OrderID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Enter_the_details_of_the_Received_Order_below." />
+ </task>
+ <task id="Check_Quality_3_1129">
+ <name>Check Quality 3</name>
+ <flowsInto>
+ <nextElementRef id="Return_Goods_3_1131" />
+ <predicate ordering="0">/WarehouseWarehouse/GoodsQuality/text()='Goods not so good shape.'</predicate>
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="null_1283" />
+ <isDefaultFlow />
+ </flowsInto>
+ <join code="xor" />
+ <split code="xor" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;GoodsQuality&gt;{/Is_the_quality_of_the_goods_acceptable./GoodsQualityCheck/text()}&lt;/GoodsQuality&gt;" />
+ <mapsTo>GoodsQuality</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Is_the_quality_of_the_goods_acceptable." />
+ </task>
+ <task id="Check_Quantity_13_1127">
+ <name>Check Quantity 13</name>
+ <flowsInto>
+ <nextElementRef id="null_1282" />
+ <isDefaultFlow />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Order_Extra_Goods_3_1130" />
+ <predicate ordering="0">/WarehouseWarehouse/GoodsQuantity/text()='Quantity not so good shape.'</predicate>
+ </flowsInto>
+ <join code="xor" />
+ <split code="xor" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;GoodsQuantity&gt;{/Is_the_quantity_delived_the_same_as_orderd./GoodsQuantity/text()}&lt;/GoodsQuantity&gt;" />
+ <mapsTo>GoodsQuantity</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Is_the_quantity_delived_the_same_as_orderd." />
+ </task>
+ <condition id="null_1283">
+ <flowsInto>
+ <nextElementRef id="Put_in_Warehouse_2_1134" />
+ </flowsInto>
+ </condition>
+ <condition id="null_1282">
+ <flowsInto>
+ <nextElementRef id="Put_in_Warehouse_2_1134" />
+ </flowsInto>
+ </condition>
+ <task id="Return_Goods_3_1131">
+ <name>Return Goods 3</name>
+ <flowsInto>
+ <nextElementRef id="null_1283" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Return_ID_for_the_returned_Order." />
+ </task>
+ <task id="Order_Extra_Goods_3_1130">
+ <name>Order Extra Goods 3</name>
+ <flowsInto>
+ <nextElementRef id="null_1282" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;OrderID&gt;{/Order_Details_backorder./OrderID/text()}&lt;/OrderID&gt;" />
+ <mapsTo>OrderID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Order_Details_backorder." />
+ </task>
+ <task id="Put_in_Warehouse_2_1134">
+ <name>Put in Warehouse 2</name>
+ <flowsInto>
+ <nextElementRef id="Update_Inventory_3_1522" />
+ <predicate ordering="0">/WarehouseWarehouse/SpaceCheck/text()='Space Good.'</predicate>
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="Search_For_New_Warehouse_1_1523" />
+ <isDefaultFlow />
+ </flowsInto>
+ <join code="and" />
+ <split code="xor" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;SpaceCheck&gt;{/Is_there_room_in_the_current_warehouse./SpaceCheck/text()}&lt;/SpaceCheck&gt;" />
+ <mapsTo>SpaceCheck</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Is_there_room_in_the_current_warehouse." />
+ </task>
+ <task id="Search_For_New_Warehouse_1_1523">
+ <name>Search For New Warehouse 1</name>
+ <flowsInto>
+ <nextElementRef id="Plan_Logistics_1_1524" />
+ <isDefaultFlow />
+ </flowsInto>
+ <flowsInto>
+ <nextElementRef id="OutputCondition_2" />
+ <predicate ordering="0">number(/WarehouseWarehouse/WarehouseID/text())=0</predicate>
+ </flowsInto>
+ <join code="xor" />
+ <split code="xor" />
+ <completedMappings>
+ <mapping>
+ <expression query="&lt;WarehouseID&gt;{/Enter_the_new_WarehouseID./WarehouseID/text()}&lt;/WarehouseID&gt;" />
+ <mapsTo>WarehouseID</mapsTo>
+ </mapping>
+ </completedMappings>
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Enter_the_new_WarehouseID." />
+ </task>
+ <task id="Update_Inventory_3_1522">
+ <name>Update Inventory 3</name>
+ <flowsInto>
+ <nextElementRef id="OutputCondition_2" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Order_accepted_in_warehouse._Inspect_the_goods_now_by_starting_a_new_case." />
+ </task>
+ <task id="Plan_Logistics_1_1524">
+ <name>Plan Logistics 1</name>
+ <flowsInto>
+ <nextElementRef id="Pay_Logistics_1_1841" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Logistics Employee$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="After_organizing_logistics_for_the_order_enter_the_required_information_below." />
+ </task>
+ <task id="Pay_Logistics_1_1841">
+ <name>Pay Logistics 1</name>
+ <flowsInto>
+ <nextElementRef id="Deliver_To_Warehouse_1_1928" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Warehouse Manager$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Enter_the_invoice_ID_and_amount_from_the_Logistics_department." />
+ </task>
+ <task id="Deliver_To_Warehouse_1_1928">
+ <name>Deliver To Warehouse 1</name>
+ <flowsInto>
+ <nextElementRef id="OutputCondition_2" />
+ </flowsInto>
+ <join code="xor" />
+ <split code="and" />
+ <enablementMappings>
+ <mapping>
+ <expression query="&lt;YawlResourceAuthorisationQuery&gt;select HResID from HResPerformsRole where RoleName =$apos;Chauffeur$apos;&lt;/YawlResourceAuthorisationQuery&gt;" />
+ <mapsTo>YawlResourceAuthorisationQuery</mapsTo>
+ </mapping>
+ </enablementMappings>
+ <decomposesTo id="Order_processing_complete." />
+ </task>
+ <outputCondition id="OutputCondition_2" />
+ </processControlElements>
+ </decomposition>
+ <decomposition id="Is_the_quantity_delived_the_same_as_orderd." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>GoodsQuantity</name>
+ <type>GoodsQuantityCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Order_accepted_in_warehouse._Inspect_the_goods_now_by_starting_a_new_case." xsi:type="WebServiceGatewayFactsType">
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Order_processing_complete." xsi:type="WebServiceGatewayFactsType">
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Order_Details_backorder." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>OrderID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="To_start_enter_the_following_information." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>EmployeeID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <outputParam>
+ <name>inspect_date</name>
+ <type>date</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Please_supply_the_following_for_the_current_product." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>ProductID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="After_organizing_logistics_for_the_order_enter_the_required_information_below." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>LogisticsID</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Enter_the_details_of_the_Received_Order_below." xsi:type="WebServiceGatewayFactsType">
+ <inputParam>
+ <name>OrderID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </inputParam>
+ <outputParam>
+ <name>OrderID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Enter_the_invoice_ID_and_amount_from_the_Logistics_department." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>LogsticsInvoiceID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <outputParam>
+ <name>LogisticsAmmount</name>
+ <type>double</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Input_the_new_Quantity_for_the_following_product." xsi:type="WebServiceGatewayFactsType">
+ <inputParam>
+ <name>ProductName</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </inputParam>
+ <inputParam>
+ <name>CurrentQuantity</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </inputParam>
+ <outputParam>
+ <name>CurrentQuantity</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Enter_the_new_WarehouseID." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>WarehouseID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="After_placing_the_order_with_the_supplier_input_the_OrderID_here." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>OrderID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Is_there_room_in_the_current_warehouse." xsi:type="WebServiceGatewayFactsType">
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ <outputParam>
+ <name>SpaceCheck</name>
+ <type>SpaceCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ </decomposition>
+ <decomposition id="After_descarding_any_out_of_date_or_unusable_producs_enter_the_new_Quantity_of_the_following_Product." xsi:type="WebServiceGatewayFactsType">
+ <inputParam>
+ <name>ProductName</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </inputParam>
+ <inputParam>
+ <name>CurrentQuantity</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </inputParam>
+ <outputParam>
+ <name>CurrentQuantity</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Is_the_quality_of_the_goods_acceptable." xsi:type="WebServiceGatewayFactsType">
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ <outputParam>
+ <name>GoodsQualityCheck</name>
+ <type>GoodsQualityCheckType</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ </decomposition>
+ <decomposition id="Return_ID_for_the_returned_Order." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>ReturnID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ <decomposition id="Input_the_following_information_on_the_product_being_date-checked." xsi:type="WebServiceGatewayFactsType">
+ <outputParam>
+ <name>ProductID</name>
+ <type>long</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </outputParam>
+ <enablementParam>
+ <name>YawlResourceAuthorisationQuery</name>
+ <type>string</type>
+ <namespace>http://www.w3.org/2001/XMLSchema</namespace>
+ </enablementParam>
+ </decomposition>
+ </specification>
+</specificationSet>
+
+
diff --git a/yawl/WarehouseWarehouse/Warehouse_Warehouse_resourced.ywl b/yawl/WarehouseWarehouse/Warehouse_Warehouse_resourced.ywl
index 4fb2fc7..bd808a6 100644
--- a/yawl/WarehouseWarehouse/Warehouse_Warehouse_resourced.ywl
+++ b/yawl/WarehouseWarehouse/Warehouse_Warehouse_resourced.ywl
Binary files differ