Hello All, I am using receive task in the model. When someone calls my receive task, they are sending some variables with it. I want to get those variables and use them in the model. any idea how to get those variables?
It depends on which way you’d like to access the variables.
If you want to access it via some Java code you just need to get the delegateExecution
and ask for the variable
delegateExecution.getVariable("myVar");
Gateways can just access the variable by directly as an expression
#{myVar}
Thanks Niall for your response. I am getting the list of variables in json. I tried to get json in output variables as below
var json = ${response}
However, it is returning 500 error.
@rammys how does your response json payload looks like??