Hi All,
We are creating switching logic based on request parameters and response headers, I am using exists() function available on the switch policy. exists function with request parameter is working fine. the condition matches correctly and flow is getting executed, however the same is not working when the condition is checking for the existence of the response header which is message context. I would like to know if there is any limitation on using message context in switch conditions or if I am doing something wrong.
We are using DP API Gateway v10.0.1.6
Screenshot of request parameter condition
Screenshot of message headers
Please provide your input.
------------------------------
Arjun Pilli
API Specialist
DSV
Johannesburg
+27 0840611655
------------------------------