I have some daily automations set up to update feature layers in our GDB from a rest endpoint. There are instances when the workspace cannot connect to the source to read in the features and therefore fails the job. I have retry parameters set on the run workspace action as follows: number of attempts 1, wait between attempts 5 seconds, backoff multiplier none, randomization factor none, max wait 1 minute. Having the retry as been helpful but causes us to recieve multiple emails. Specifically, if the job succeeds we recieve 1 email that it was successful. If the job fails both attempts, we recieve 2 emails that it failed both attempts. If the job fails the first and succeeds the 2nd attempt, we recieve one failure and one succeess email. We have some users who are only set up to recieve failure emails and therefore are not aware that the 2nd attempt was successful.
Is there a way to configure the retry parameters or automation to only send an email on the final attempt?
If needed for reference below is an example of my automation. A split merge block was used to combine the workspace parameters and one parameter exposed from my workflow to identify count, so that it could all be included in the success email.





