If you want to set the complete callout body into an attribute you can configure the callout policy to add a variable callout-attribute with {#calloutResponse.content}
Then in the groovy policy you can access it with context.attributes['callout-attribute']
If you want to set the complete callout body into an attribute you can configure the callout policy to add a variable callout-attribute with {#calloutResponse.content}
Then in the groovy policy you can access it with context.attributes['callout-attribute']