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.