Unable to use custom context variable in dynamic routing endpoint

Using API gateway 10.11

In the Request Processing step, I am creating a custom context variable using the setContextVariable service. I intend to use the value of this custom context variable as the endpoint in the Routing Protocols step.

I see when I use the Straight Through Routing, the above custom variable is evaluated perfectly and the native invocation happens on the endpoint set as the value of this custom variable.
image

However, the custom variable isnt evaluated in case of Dynamic Routing.

image

Any reasons for this behaviour.
Thanks

Hi Farhan,
The dynamic routing policy will be deprecated in future releases and the configurations will be migrated to conditional routing policy. Can you try this use case using Conditional Routing Policy.

Regards.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.