Sequence To Activity Diagram Example
Sequence To Activity Diagram Example
This activity diagram illustrates the workflow of a business use case that represents a creation
of a sales order, and a purchase order. In this case, the partition represents an object in the
class diagram. The black node represents the start of an activity. Firstly, the sales department
will check if there are enough products in the warehouse or not. If there are available
products, the sales department will generate a sales order by displaying the sales order format
to enter the details, and ending with displaying the sales order template to be issued. If there
are no available products in the warehouse, the sales department will generate a purchase
order by displaying the purchase order format and entering the order details, ending with
displaying the purchase order template, and sending the purchase order to the vendor vie
email. Finally, the purchasing department will confirm the purchase order. The black node in
the end represents the end of an activity.
Sequence of the use case: Generate barcode sequence, print barcode
The "store keeper" actor will call an instant from the class "barcode" to generate a unit
barcode sequence. The class "barcode" will reply with the status of the operation by
generating a barcode sequence. The "storekeeper" actor will call another instant from the
class "barcode" to print the barcode sequence generated, and the class "barcode" will reply
with the status of the operation by printing the barcode sequence.