Ok, so from what you wrote I understand that you're suggesting I crerate a simple mapping events -> process definition and in the mapping I should have something like:
On Created Document Event -> start the following process instances: Process1, Process3
On Deleted Document Event -> start the following process instances: Process5, and so on
So in the code it would be an iteration on some sort of structure (let's say a Map) and for each process mapped I should use startProcessInstanceBy[Key, Id, etc]… without the need of MessateStartEvents. Did I understood properly ?
If this is your suggestion, I am wondering, what is the primary use case for MessageStartEvent ?
Regards,
Sorin B.