Hi,
Perhaps we could break your scenario down into three distinct concepts;
- You have an event which conveys some business data - eg something happened and the new value is x.
- A business rule which determines whether a or b is performed depending on the value of x.
- Process flow logic which based on the outcome of the business rule above, causes the process to flow down either path A or path B
You could model this like this:
Its the Determine Route business rule task where I would put dynamic logic. The output of this task is the route decision, A or B, then your xor gate can switch as appropriate.
Your business rule task could be implemented as script, code or even DMN. If its DMN, you could deploy a new version to effect change. If its code, you could use any appropriate technique to change logic - eg lookup table in DB or other…
regards
Rob
