I am setting up a variable in Java Callout policy using messageContext.setVariable("name",value). In the same flow, I wrote Javascript to read the variable [context.getVariable(';name)] I set up in Java Call out, but unfortunately, I see the variable as null.
The above situation is happening in production where I can't use trace, but I set the log level to debug I don't see any error when Java call out executes but when JavaScript executes the value of that variable is null.
Can someone help me?