Camunda process engine plugin to simulate process execution.
When execution process definitions, the process engine waits from time to time for external events, for example user actions, conditions, timeouts etc. This process engine plugin will generate these events to run processes without external interaction, hence, to simulate real world scenarios.
They way if and when these events are triggered and if and what payload data is to be generated is configured by Camunda Properties in the bpmn-files. Optionally, all these properties can be set externally, for example in property files.
The plugin is able to simulate the past...
Have a look at the example project, it is intended to be self explanatory.
simNextFire
:<expression giving date>
simInitBusinessKey
:<expression giving string>
simInitPayload
:<varname>=<expression giving arbitrary value>
simNextFire
:<expression giving date>
Note for signals: The signal is not delivered globally but only to the execution that waits at the receive event.
simNextFire
:<expression giving date>
TODO: Also simulate assignee, candidates, claiming...
Replace behaviour by no-op, except following is set:
simCallRealImplementation
:true
simNextFire
:<expression giving date>
Replace behaviour by no-op, except DMN, this is "normally" called.
Always stripped away, except the following is set:
simKeepListeners
:true
simGeneratePayload
:<varname>=<expression giving arbitrary value>
- think about throwing BPMN errors
- think about keeping execution/task listeners/