Hello all, wondering if anyone here can help with ...
# ask-community
j
Hello all, wondering if anyone here can help with a specific use case involving slack alerts. I've set up my pipelines to send a failure alert given a failure and then attempt a retry. I really like this feature and the second attempt will often succeed. I'd like to be able send a slack on success for only the retry, rather than slack on success for any successful run. Has anyone setup up this use case? Thanks.
s
Hi Jeff, To confirm, are you currently using the
slack_on_success
hook from
dagster-slack
?
j
Hi @sean I've looked into
slack_on_success
, however, that would send a slack every time the pipeline succeeds right? In this case, I only want to send the slack on a retry.
Alternatively, is there a way to send a failure only if the last attempt fails?