I have a Azure Data factory pipeline in which have a activity that runs a sql script. I have retry setup on Activity for it to run again after its fails on first run. I want to send an email when it fails on its first run and is retrying.
I have tried to set up a failure output from activity to send a mail. But it will retry without sending the mail (through web activity).
I want to send email once it fails in its first run and is retrying on second run.



