Some useful exercises by UNR:
Town Planning Authority
E1. Example of Modeling exam
Speed matters.
Those who delivers within 30 minutes have 6 bonus points. the bonus decreases by 1 point every 5 minutes.
Exam text
Note1: the output of steps 2,3,4,5 is an entire, complete process diagram (so in the end you have FOUR complete diagrams and a text)
Note2: for models 3,4,5, you can use either 1 or 2 as a reference starting point, as you prefer.
1. Consider the process shown here. Describe it in plain english, as accurately as possible but without introducing behaviors that are not described in the model.
2. How would you modify the process if you were to use an event subprocess for listening to customers' reminders?
3. Modify the process to include the possibility that, if no food comes within one hour after the order has been placed, then the customer just cooks something at home (the cooking for us is just a subprocess, no need to go into details of the cooking). No need to notify the food company that you got tired of waiting
4. Model a delivery process of the food company where, to save money, the food orders are collected but the delivery is done only every 30 minutes or once 15 orders have been received, that, is, order are not delivered as soon as they are ready but are prepared and kept warm, and delivered in bulks. Do not model the inside of the customer pool in this case.
5. Our food company commits to always serving our customers. If we do not have the food available (e.g., we don't have the ingredients.. our kitchen is not working, our chef is sick, or whatever) then we forward the request to other restaurant partners. We try many of them in parallel, to be efficient. The first to confirm that they can fulfil the order at the same price that we do, we choose that one and we go pickup the order from them before delivering to the customer. Let the other partners know that the request has already been fulfilled.
Model only the company process, not the partners'.
you choose if you want the payment to go to the original company or to the partner
E2. Nobel prize processes
Try to describe these processes and to model the choreography
E3. Describe in text the following choreographies:
What would you correct in these choreographies?
E4. Derive processes corresponding to incident mgmt choreography of E3
E5. Draw process, public processes and choreography for the bicycle scenario
E6. Draw process, public processes and choreogaphies for the town planning scenario
E7: Wedding planners
Decide by yourself which pools to expand and which pools to keep as collapsed
A wedding agency offers wedding organization services.
The agency’s process works like this:
The customer contacts the agency to request a wedding in a given location (for example, lake Garda) and a given month/year.
The agency checks prices and availability for that month/year, by contacting several service providers for each service type. Service types include:
wedding venue (for example a church or a civic center or a villa)
reception venue (where the party is)
flowers services
catering/food
cake
and many others (hairdresser, make up, phtographer,….)
For each service type, the agency contacts many service providers, to be able to offer a wide choice to the customer.
As soon as all providers have responded, the agency transfers all information to the customer.
It may be that providers are slow to respond: the agency waits for providers to respond for a maximum of 2 days, after that time it sends the customer whatever information it got from the providers.
the customer then decides which services they need and also decides on a wedding day, and informs the agency (Again, the agency waits for a maximum of a week. If there is no response within a week, the process is ended).
The agency then books each of the selected service providers for the selected wedding date.
The service providers confirms availability for that slot.
The agency sends a final confirmation to the customer, asking also for advance payment.
If the time slot is no longer available, the agency informs the customer and the customer makes a new selection.
At the end, once the providers have been identified, the customer sends the payment to the agency. The agency deposits a part in the bank, and sends 100 euros as a retainer to each of the selected service providers.
2. Draw the public process of the agency and the whole choreography
3. copy the diagram created in point 1 and change the process model by assuming that the agency sends to the customer responses from provider as they arrive. at any point the customer can make a decision and inform the agency. There is always a time limit of 1 week from the *first* message sent to the customer.
Optional (bonus points if you have completed the rest correctly):
4. copy the diagram created in point 1 and change the process model as follows: instead of having the agency contact each provider every time there is a new customer, the agency contacts the providers periodically (whenever the agency decides to do so).
for every customer request, if for a provider the information is less than 10 days old, we just use that information, while for providers for which we have older or no information, we ask it.
Here is a possible solution for point 1.