AnsweredAssumed Answered

Context variables from service policy not available in Message-Completed global policy fragment

Question asked by Ben.Deutsch on Oct 11, 2018
Latest reply on Nov 14, 2018 by Conny Postma

I'm setting some context variables in my services and then want to reference them in the message-completed global policy fragment but it says 'Unsupported variable'.  This appears to be inconsistent with the documentation:

Global Policy Fragments - CA API Gateway - 9.2 - CA Technologies Documentation

"A global policy shares the following with a service policy:

  • request/response messages
  • message context mappings
  • audit/fault settings
  • authentication details
  • built-in context variables (all other variables local to the policy being run)"

For now I've put the value into the request headers post-routing so I can grab it after, but in case of routing failure I will not have them available.

Outcomes