This view shows the BPEL constructs that are used to implement the open bank account process in Business Process Choreographer.
One flow activity contains all other activities in this process. To synchronize the activities and to specify the control flow of the business process, links are used.
The open bank account process starts with the receive activity Receive.
The snippet activity GetCreditRating computes the credit rating of a customer and writes it into a process variable.
In this sample, we use a simple Java method to determine the credit rating of a customer.
This link has a transition condition associated with it. This condition is implemented in Java code. It reads the process variable with the credit rating, and if the credit rating is not "A", it evaluates to true.
These two links have a transition condition associated with it. However, this condition is not implemented using Java code or an XPath expression. Instead, the transition condition is otherwise.
These two links are traversed, if the link described in (3) is not traversed and vice versa.
After the activities OpenCheckingAccount and OpenSavingsAccount have been executed, the process continues with the setAnswerConfirm activity.
Note that all incoming links of the SetAnswerConfirm activity need to be evaluated before the activity can start. This means that all preceding activities must be completed.
It is not a sufficient precondition if one of the preceding activities is finished.
