Scenario
Current Behaviour
If you use @Variable only those variables are fetched from the payload and will be given to you. If you in addition inject the Payload Map<String, Object> as a parameter it will still only contain the variables present as individual method parameters.
Wanted Behaviour
Be able to overwrite this behavior with additional attribute of the ProcessEngineWorker annotation and still fetch all variables. (adding overwriteVariableFetching boolean parameter)
Possible Workarounds
Not use @Variable and Map<String, Object> in the same method.