Process Instance API start with variable in return

Hi ,

I have started process with process-definition key

http://localhost:8080/oneengine/process-definition/key/my-process/start with “withVariablesInReturn”: true in request
but variables are not returning with response
even new variables I have added in java delegates are also not coming in json response
only the java object which I have serialized and passed is returning which is also in binary form
Please help.

Based on the limited information given, it sounds like you’re hitting your initial wait state before you’re setting the variables. Can you post an example of the process and the call you’re making?