@Marc1 I just tested this out, this looks like a bug (IMO) or at the very least a seemingly undocumented “feature”…
The processVariablesLocal prop indeed does not store it into the local variables of the execution…
Everything seems to be fine in the API side: camunda-bpm-platform/MessageRestServiceImpl.java at master · camunda/camunda-bpm-platform · GitHub
but maybe its a bug with the actual message service? (to be tested)
I also added a variable into the execution manually through the API to confirm that a event sub process will hold execution vars