List full array headers of the same name

I've got a Service Callout that returns a number of fooBar headers (number can vary).

In my Assign Message policy, I know I can get the second header in the array using

{calloutResponse.header.fooBar.2}

But what if I want to list all the headers in the array? Is there another notation I can use?

Thanks!

Solved Solved
1 2 133
1 ACCEPTED SOLUTION

HI @Floyd Jones

{calloutResponse.header.fooBar.values}

should give the array

View solution in original post

2 REPLIES 2

HI @Floyd Jones

{calloutResponse.header.fooBar.values}

should give the array

Oh, HELL yes, @Sai Saran Vaidyanathan! Thank you so much!