Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Java Call out Policy and JavaScript Policy

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?

0 1 258
1 REPLY 1
Top Solution Authors