We practice our understanding of the semantics of BPMN 2.0. Remember the following assumptions made for a BPMN process model as discussed in the lecture:
- When a task starts upon arrival of a token, it will finish at some point and release the token when it is finished.
- In an XOR branching gateway, exactly one outgoing branch is activated. For an XOR merging gateway, every arriving token will be sent on by the gateway.
Task 1: Decide if the following statements about process models are true or false and give a short justification for your answer. The models abstract from specific conditions specified at an XOR gateway. This means, exactly one outgoing branch will be activated, but you do not which one.
Simply write your answers below the statement.
- a)
- b)
C is executed after A or B have finished.
C is executed exactly two times.
D is executed exactly once in c) each instance.
C is executed several times
- d) in some instances.
- The process never ends.
- e)
- When the process starts, either A or B are executed. Subsequently, C is executed.
- f)
A can never be executed.
- g)
A is executed infinitely often.
Any model with only AND gateways and no cyclic paths is sound.
(The picture on the left illustrates one possible example model.)
Any model with only XOR gateways, but cyclic paths cannot contain a Lack of Synchronization error. i)
Task 2: Create a BPMN 2.0 model for a Mortgage Approval process, which is used by a bank to decide whether a customer request for a mortgage loan can be granted. Use pools for the customer and the bank. Add message flows between the pools. Within the customer and bank processes use events, tasks, and XOR or AND gateways. Use other gateways only if necessary. Remember to name all elements in the model.
The process proceeds as follows:
A customer needs a loan to finance a house. The customer fills in an application form for a mortgage and prepares all necessary documents. Then, the customer sends the filled-in application to the bank. The customer waits for the response from the bank. This response comes as a letter and can contain one of the following 3 possible answers:
Architectural Thinking for Intelligent Systems
- The documents were not correctly filled in by the customer and are therefore returned by the bank. In this case, the customer needs to rework the documents and resubmit again. This process can repeat several times until the application is accepted by the bank.
- The bank declines the application. The customer process ends.
- The bank accepts the application and sends an offer for the mortgage. The customer reviews this offer and decides to accept or reject it. If the customer accepts the offer, she signs and returns the offer to the bank. Otherwise, the customer process ends.
When an application for a mortgage loan arrives, the Mortgage Loan Request process is triggered at the bank. The application is first reviewed for completeness. If it is incomplete, the documents must be returned to the customer to add missing information. If the application is complete, the bank reviews the application. In an assessment subprocess, two conditions are checked:
- The customers credit history is checked automatically by a system.
- The appraisal of the property is carried out by a property appraiser.
Once both, the risk assessment and the property appraisal have been performed, a loan officer can assess the applicants eligibility. If the applicant is not eligible, the application is rejected, otherwise the acceptance pack is prepared. The loan officer sends the response of the bank to the customer and waits to hear from the customer again within 4 weeks.
If the customer does not reply within the 4 weeks, the process at the bank ends. If the customer replies and accepts the offer, the loan officer opens an account, and the bank process ends.
Task 3: What states do you propose for the application business object? Draw its lifecycle.
Reviews
There are no reviews yet.