As in real life, many of your business processes won't follow a structured or sequential path. They might have many possible activities that experts could act on as needed, given the situation. Think of an insurance claims case, where experts could be brought in as necessary to examine documents, pictures of damaged vehicles etc. Based on their findings, we could find ourselves dealing with a case of possible fraud etc. OPA allows us to create such processes, so let's away!
Activities: the actions taken within the process, e.g. review claim, ask for fraud check etc.
Stages: Your dynamic process can be divided into stages. Think of a stage as a bucket for related activities, activites that must be completed inorder to achieve a Milestone e.g.
Stage 1 - Initial Investigation includes tasks such as validate claim report, review pictures of damaged vehicle. Our milestone, the outcome of this stage, we could call "Initial Investigation Completed". Depending on the outcome, this could result in Stage 2 - Fraud Investigation - being triggered.
You get the idea!
Here is my simple dynamic process - the prep work included defining a Claim Business Type -
A Form with 3 presentation types - for claim entry, initial investigation and fraud checking.
Two structured processes -
RequestDocsProcess simply emails the claimant requesting more documentation related to the accident etc.
SettleClaimProcess emails the repair shop to confirm they can start repairing the vehicle.
I also added the following roles -
Let's now orchestrate the dynamic process, now that we have all of the pieces -
Here are the different types of activities available -