MAKE RESERVATIONS is the activity and it states the following:
A customer contacts a reservation officer about a car rental.
The customer quotes the start and end dates needed, the preferred vehicle, and the pickup office.
The reservation officer looks up a prices file and quotes a price. The customer agrees to the price.
The vehicle availability is checked to see if an appropriate vehicle is available for the required time at the required office.
If the requested vehicle is available at the nominated pickup office, then it is reserved for the customer. An entry is made in the vehicle availability registering the reservation.
The reservation officer issues a rental number to the customer. A rental agreement is then created in a rental file, including the rental number, the rental period, the vehicle type and the pickup office.
Exceptions
- An appropriate vehicle is not available at the pickup office. The customer is offered an alternative vehicle.
- The customer does not agree to a price and asks for an alternate vehicle and/or period.
I designed the activity diagram for the activity above yet I don't know whether I have to put the question in the decision node or above on the control flow? In my case, the Agree to Price should it be on the decision node or on the control flow arrow that inputs the node?
As well as that, if a use case only specifies a condition, such as " If a vehicle is available, the customer is offered the vehicle and a price is quoted. If the customer accepts then a rental is initiated." how does the decision node look like?
Moreover, what if there are three different actors, should there be a swimlane representing the actors or can the activity diagram be drawn without one?
The activity diagram for the use case above is posted below