The objective of this article is to show you an example case of how the diagram works, when the application is running, in a specific situation.
When the application is run, the inbox is displayed with a task ready to be executed. First, select the task and press the Execute button (another option is to double-click on the task). The associated object (Reservation) will open for you to enter the reservation details. Leave the CustomerCode field empty (the customer is not yet registered).
Press Confirm. You will see a message indicating that the data has been successfully added; press Cancel to return to the inbox. The task has been executed and only needs to be completed. Click on the Send button:
The Gateway condition will be evaluated, and since the client doesn't exist you will have to register him/her. To check this, select Execute:
Enter the customer's details. Press Confirm and a message will be displayed indicating that the data has been successfully added. Press Cancel to close the form.
To complete the task, click on the Send button.
Once the “Add Customer” task has been completed as defined in the flow, the “AssignToCustomer” Procedure will be automatically executed and the customer will be assigned to the reservation.
The following task of the flow is “Reservation Availability.” Press Execute to confirm it:
The Reservation Transaction (associated with the “Reservation Availability” task) will open, displaying the Availability checkbox:
Mark the reservation as available. Press Confirm and a message will be displayed to indicate that the data has been successfully updated. Press Cancel.
Press Send. When this task is completed, the process ends.