Webhook problem

Api-provider is using webhook to send back data. Sometimes api is still processing and webhook sends empty json with processing status. Api-provider instructed to use “only when” action when get request webhook status is success, but it seems not to work. How to make it work?