Diagrams

=Use-Case Diagram=

Use-Case diagrams are an artifact of Business Process Analysis and are used to show the processes and parties involved in supplying and processing information. Complex processes may involve several simpler processes and these may be shown by “including” several Use-Cases within a diagram

Example: The detailed processes that make up Customs processes and the various parties involved are shown in the Use-Case diagram. The diagram shows Customs and other government agencies involved and the various roles they play in the processes. (Source: Buy-Ship-Pay Model) =Use-Case description= A Business Process may be documented as a Use-Case Description. This documents the parties involved in the process, the events that indicate the beginning and end of the process, and the detailed activities and information exchanges that take place. A separate Use-Case description may be needed to cover each of the different scenarios that may occur in conducting a process.

Example: Departure of goods from Customs territory
Agent: Customs Agent, Customs Broker, Declarant, Bank, Credit Agency, PSI Company, Insurer Carrier : Freight forwarder, Transporter Authority: Customs, Other government agencies such as Health, Immigration, Veterinary, Agricultural. Customer: Buyer, Consignee, Invoicee, Orderer || - Prior to departure Supplier/Carrier/Agent declares/reports all goods for outward transport to Authority (Customs office outward) by means of a cargo declaration/declaration of departure/notification - Authority (Customs) carries out a technical assessment on the format and content of the cargo declaration/declaration of departure/notification - Authority (Customs) informs Supplier/Carrier/Agent about accepting or refusing the cargo declaration/declaration of departure/notification - Authority (Customs) records the cargo declaration/declaration of departure/notification - Authority (Customs) informs Authority (OGA) - Authority (OGA) performs risk assessment - Authority (Customs) compares cargo declaration/declaration of departure/notification with goods export information - Authority (OGA) informs Authority (Customs) - Authority (Customs) carries out risk assessment - Authority (Customs) coordinates container/goods/documents check - Authority (Customs) informs Supplier/Carrier/Agent - Supplier/Carrier/Agent points out the container/goods - Authority (Customs) executes container/goods/document check - Authority (Customs) seals container - Authority (Customs) informs Authority (OGA) about the results of the container/goods/documents check - Authority (Customs) releases the container/goods (and the means of transport) for departure - Authority (Customs) informs Authority (Customs office of transit /Customs office inward/Customs office inland) - Authority (Customs) informs Supplier/Carrier/Agent - Supplier/Carrier/Agent accepts the release information
 * Name || **Departure of goods from Customs territory** ||
 * Actors || Supplier: Consignor, Invoicer, Payee, Seller
 * Description || The necessary arrangements are made to enable goods - and the means of transport for commercial use - to leave the Customs territory ||
 * Pre-condition || Goods were subject to an outright Exportation Declaration ||
 * Post-condition || Goods - and the means of transport for commercial use - have left the Customs territory ||
 * Scenario 1 || **Starts when** goods arrive at the Customs office of departure
 * Ends when** goods (and the means of transport for commercial use) leave the Customs territory ||

=Activity diagram= An activity diagram is an artifact of Business Process Analysis and shows the participants in the process in terms of “swim lanes” as well as the activities involved in sending and receiving information.

The Customs example shows the activities involving the Supplier (or his Agent), the Transporter and various Customs and other Authorities in the inspection and clearance of goods for departure from a country (Source: Buy-Ship-Pay Model).