Business transactions

A business transaction is a self-contained business deal. Some business transactions, for example, buying a newspaper, are simple and short-lived. However, many business transactions involve multiple actions that take place over an extended period.

As an example, selling a vacation might involve the travel agent in actions such as:
  • Recording customer details
  • Booking seats on an aircraft
  • Booking a hotel
  • Booking a rental car
  • Invoicing the customer
  • Checking for receipt of payment
  • Processing the payment
  • Arranging foreign currency.
Both the customer and the travel agent regard the purchase of the vacation as a single business transaction, as indeed it is, because each action only makes sense in the context of the whole. The example illustrates some typical properties of complex business transactions:
  • They tend to be made up of a series of logical actions.
  • Some actions might be taken days, weeks, or even months after the transaction was started - arranging foreign currency, in this example.
  • Some of the actions might be optional - not everyone wants to rent a car, for example.
  • At any point, an action could fail. For example, a communications failure could mean that it is not possible to book a hotel. In this case, the action must be tried again. Or the customer might fail to meet their final payment; this failure would require a reminder to be sent. If the reminder produces no response, the vacation must be canceled - that is, the actions that have already been taken must be undone.
  • Data - for example, a customer account number - must be passed between the individual actions that make up the business transaction.
  • Some control logic is required, to “glue” the actions together. For example, there must be logic to deal with the conditional invocation of actions, and with failures.


dfhp9c0011.html | Timestamp icon Last updated: Sunday, 4 June 2017