This is a list showing the most useful of the examples for Camunda Plaform 7 that I've created.
โ You should be aware that if you're using Camunda Platorm 8 a lot of what I demonstrate here won't apply โ
They aim to show common solutions and demonstrate Interesting patterners.
If you have trouble picking a movie to watch on netflix and you really would love to know who a BPMN process can dynamically call a DMN table - this is the project for you. Why not create a pull request with your movie recommendation?
This is an example of how to model the Saga Pattern by taking a distributed group of micro services and have them orchestrated asynchronously using Camunda and BPMN.
An example of throwing a BPMN from any point in the process and returning back to that point after the problem has been resolved.
A Pattern for creating process that will only start one instance per request. So that if an external system sends multiple identical requests it will not start any new processes if one has been successfully started.
This demonstrates a way in which you can asynchronously start lots of instances of another process and be able to wait for each to return with results.
When you start lots of sub processes from a parent and then decided you want to shut things down, you need to undo
or compensate
what has already been completed and cancel the instances that have not yet done anything. This examples show s a nice way of doing that.
An example of how a process can be made to suspend itself under a specific condition
execution.getProcessEngineServices()
.getRuntimeService()
.updateProcessInstanceSuspensionState()
.byProcessInstanceId(execution.getProcessInstanceId())
.suspend();