Multievent instantiation pattern – process instantiation over multiple events
If we have the requirement to branch out our process flow based on external events, then the event-based gateway initiation mechanism is best suited for us. Here, several external events might occur; however, the path is chosen based on the occurrence of an event within your process design. We will use the loan origination use case to demonstrate this pattern. When the process is initiated, it will either be initiated for the new loan and get caught by the NewLoanApplication
Message Catch Event, or if it gets initiated for an existing loan process instance, it will be caught by the ReLoanApplication
Message Catch Event.
The Loan Processing event gateway initiates the sequence that has the NewLoanApplication
message event, and the instance reaches subsequent activities and the downstream flow.
Loan origination over multiple event occurrence
The loan origination process can be instantiated for a new loan application...