-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
AT:
- The RuntimeService provides a method for triggering message event subsciptions, providing
- message event name
- a Map of correlation parameters
- a Map of process variables
- ...
- The expected behavior is that the implementation finds the corresponding execution (taking into account the correlation set) and triggers that execution. The method may also start a new process instance.
- If no event subscription for the provided message event name can be found an Error is returned
- If multiple event subscriptions for the provided message event name + correlation can be found an Error is returned
- Nice documentation can be found in the BPMN Implementation Reference
CONSIDER:
- the actual correlation logic may be abstracted using a configuration interface (MessageCorrelationHandler ?) so that users can plug in custom correlation logic