Lets model start event folows X gateway
Then I get an error “ENGINE-02004 No outgoing sequence flow for the element with id”, even if I declare this variable at start:
POST /process-definition/{id}/start
{“variables”:{“automode”:{“value”:true}}}
It looks like a bug. My assumption is the process starting runs the same transaction as variables setting, therefore gateway condition expressions can’t touch it. If I put user task before the gateway, then it’s ok, because transaction ends before user task starts.
If it is not a bug so how to fix the issue without extra user task, also I can’t define a variable with a constant in a model?