Js file is executing after response sent to client.

I am using a shared flow for error handling, which contains a js file for formatting the response. Its is working fine all the time, but its not working when i get 503 (target server was not enabled)

{ "fault": { "faultstring": "The Service is temporarily unavailable", "detail": { "errorcode": "messaging.adaptors.http.flow.NoActiveTargets" } } }

please find attached image of flow. js file is executing after response sent to client.

10158-flow.png

0 1 82
1 REPLY 1

Not applicable

It looks interesting. can you try removing the logging policy from the shared flow and test the same?