Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to access parent proxy flow variables in child proxy target flow

How to access parent proxy flow variables in child proxy target flow

0 1 131
1 REPLY 1

You cannot access them directly.

I think you're talking about a chained invocation.

  1. client invokes proxy1
  2. proxy1 invokes proxy2 (perhaps via LocalTargetConnection)

the request within proxy2 cannot access the request context in proxy1

If you want the request context for proxy2 to access some context data from proxy1, you need to propagate that information to proxy2 explicitly, possibly via http headers that you inject in step 2 above.