\subsection{Workflow process PartyParty}

\subsubsection{Scenario 1}

A warehouse employee performs his routine by inspecting the Date of products, discarding expired producs and ordering new goods. He then processes a received order which didn't pass the quality inspection and therefore got sent back. The amount received did match the order however. Since the goods got sent back, there was obviously enough place for the goods.\\

Step 1:
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_1.png}
\end {center}
Step 2: Register the Employee's information and the date of Inspection.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_2.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_3.png}
\end {center}
Step 3: Choose a product to process.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_4.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_5.png}
\end {center}
Step 4: Review the items currently in the system.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_6.png}
\end {center}
Step 5: And re-adjust the Quanity currently in the warehouse after discarding unusable products.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_7.png}
\end {center}
Step 6: When completing the Inspection new goods can be ordered.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_8.png}
\end {center}
Step 7: After placing the order, record the ID for reference in the system.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_9.png}
\end {center}
Step 8: Verify the Order ID in the system with the received Order.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_10.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_11.png}
\end {center}
Step 9: The received goods where in an unacceptable shape, they will be returned.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_12.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_13.png}
\end {center}
Step 10: Record the Return ID for reference in the system.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_14.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_15.png}
\end {center}
Step 11: The quantity is as ordered.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_16.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_17.png}
\end {center}
Step 12: There is enough space in the warehouse to receive the goods in.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_18.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_19.png}
\end {center}
Step 13: Job Completed.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_20.png}
\end {center}


\subsubsection{Scenario 2}

This scenario is variation on the previous one, it's exactly the same except that there was no space in the warehouse, which is where this scenario picks up uppon.

Step 13: There is not enough space in the warehouse for the received goods.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_1.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_2.png}
\end {center}
Step 14: Luckly, Warehouse 5 had room for the order.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_3.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_4.png}
\end {center}
Step 15: After organizing logistics the Logistics ID is recorded for reference.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_5.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_6.png}
\end {center}
Step 16: Record the logistics Invoice ID and the payed amount for reference.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_7.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_8.png}
\end {center}
Step 17: Goods successfully deliverd at a different Warehouse.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_2_9.png}
\end {center}


\subsubsection{Scenario 3}


Step 1: There is not enough space in the warehouse for the received goods.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_1.png}
\end {center}
Step 2: Register the Employee's information and the date of Inspection.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_2.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_3.png}
\end {center}
Step 3: Choose a product to process.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_4.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_5.png}
\end {center}
Step 4: Review the old quantity.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_6.png}
\end {center}
Step 5: And appropaiatly set the new quantity.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_7.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_8.png}
\end {center}
Step 6: When completing the Inspection new goods can be ordered.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_9.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_3_10.png}
\end {center}
Step 7: Verify the Order ID in the system with the received Order.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_10.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_11.png}
\end {center}
Step 8: The received goods where in an unacceptable shape, they will be returned.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_12.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_13.png}
\end {center}
Step 9: Record the Return ID for reference in the system.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_14.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_15.png}
\end {center}
Step 10: The quantity is as ordered.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_16.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_17.png}
\end {center}
Step 11: There is enough space in the warehouse to receive the goods in.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_18.png}
\end {center}
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_19.png}
\end {center}
Step 12: Job Completed.
\begin {center}
  \includegraphics[width=\textwidth]{YAWL_Engine_WarehousWarehouse_Scenario_1_20.png}
\end {center}
