Process flow

Follow the Sale example application process flow with compensation actions included.

Figure 1. Process flow with compensation actions included. (The root activity is not shown.) Changes from the user-related example described in Interacting with BTS processes and activities are shown in bold.
The picture shows the data flows described in the list below. A rectangle represents the Sale business transaction. The rectangle contains several smaller rectangles, representing the Order, Delivery, Confirm, Invoice, and Payment child activities. Another rectangle, outside the Sale transaction, represents the Menu transaction. Input and output data flows are represented by arrows. The Menu transaction collects input from the user. The output from the Menu transaction becomes the input to the Order activity. The Order activity collects further input from the user. The output from the Order activity becomes the input to the Delivery activity. The output from the Delivery activity becomes the input to the Confirm activity. The output from the Confirm activity (which requires user input) becomes the input to the Invoice activity. The output from the Invoice activity becomes the input to the Payment activity. If payment is not received within one week of the invoice being sent, a reminder is sent. The flow becomes: Reminder, request return, confirm return (which requires user input), and cancel order.
  • The terminal user enters the customer's order, which is accepted.
  • The goods are delivered to the customer.
  • The terminal user confirms that the goods have been delivered.
  • An invoice is sent to the customer.
  • A reminder is sent if payment has not been received within one week of the invoice being sent.
  • If payment has still not been received two weeks after the reminder was sent, compensation is triggered. Compensation causes the following:
    • The outstanding payment request is canceled.
    • A letter is sent, requesting the goods to be returned.
    • Confirmation that the goods have been returned is requested.
    • The order is canceled.


dfhp9c0047.html | Timestamp icon Last updated: Monday, 5 June 2017