Hi there, hoping somebody can share some insights into Flow Hooks…
I currently have a Shared Flow which uses the AssignMessage Policy to remove/set some headers.
SharedFlow:
<SharedFlow name="default">
<Step>
<Name>Assign.ResponseHeaders</Name>
</Step> </SharedFlow>
AssignMessage Policy:
<AssignMessage continueOnError="false" enabled="true" name="Assign.ResponseHeaders">
<DisplayName>Assign.ResponseHeaders</DisplayName>
<Properties/>
<Set>
<Headers>
<Header name="X-Custom-Header">HeaderValueTest</Header>
</Headers>
</Set>
<Remove>
<Headers>
<Header name="WWW-Authenticate"/>
</Headers>
</Remove>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<AssignTo createNew="false" transport="http"/>
</AssignMessage>
This Shared Flow has then been deployed to all environments.
Next, I then attached this Shared Flow to the “Post-target Flow Hook” and “Post-proxy Flow Hook” items in all environments.
When I go to trace any API Proxy in an environment, I don’t see the Flow Hook Steps being executed and the Header modifications have not occurred.
I’m wondering if there is anything I have missed?
Cheers





