A Receive element is used to define the acceptance or receipt of a request, in an Activity diagram. Movement from a Receive element occurs only once receipt is fulfilled according to its specification. The Receive element comes in two forms:
- Accept Event Action element (pennant shape)
- Accept Time Event Action element (hourglass shape)
This example reflects a payment process on an order. Upon receiving the payment (from Request Payments, a Send element), the payment is confirmed and the flow continues to ship the order.
See UML Superstructure Specification, v2.1.1, figure 12.26, p.312.
To depict an Accept Time Event, use the standard Receive element from the Toolbox. Right-click on this element, and select the 'Advanced | Accept Time Event' option. This example shows the hourglass-shaped Accept Time Event Action:
See UML Superstructure Specification, v2.1.1, figure 12.27, p.312.
OMG UML Specification
The OMG UML specification (UML Superstructure Specification, v2.1.1, p.239) states:
AcceptEventAction is an action that waits for the occurrence of an event meeting specified conditions.