Event-based-Gateway
Digitizing the registration and submission of a thesis - is that possible? Of course!
In the following task, you will have to deal with exactly that. The process is very simplified and consists of the following steps:
- It starts with the registration of the thesis. There, the topic and name of the student must be specified.
- Then you wait for the thesis to be submitted or the deadline of 12 weeks (1 minute for testing) to expire.
- When the thesis is handed in, it must be checked by the professor (mary)
- If the deadline for submission is exceeded, the exam committee (john) must not allow the student to pass.
#
1. Complete the processYou can download the bpmn diagram here.
Remember the task - we are talking about event based gateways!
#
2. Configure the EventsConfigure the message and timer event you (hopefully) modeled
#
3. Send the messageIn our case we will simulate the student request by an API call using Postman. A documentation of the Message API from Camunda can be found here
Send the message to the correct process instance when submitting. Attention - only one process instance may be found for the correlation.
Correlation keys are used to assign to the correct process instance. Process variables are set as new variables when the message is delivered