Forum Discussion

lsabetta's avatar
lsabetta
Frequent Visitor
10 months ago
Solved

Pipeline doesn't execute On Error

Hi community,   My pipeline is not running the notebook that has to run in case one of my activities fail. It stops just after the activity that has failed. I don't know if it is related but all th...
  • smeetsh's avatar
    10 months ago

    Sadly the "on fail"  is an AND and not an OR. In your case the notebook will only trigger if all parent activities fail and not just one of them.

     

    This means you will have to create a notebook for each fail activity, which is indeed a pain if you have many activities in one pipeline. We created something similar, but with using the outlook activity to send an email if a specific step fails.

     

    I have looked at using a notebook to just look at the whole pipeline and alert if the pipeline itself fails, but there are 2 downsides to that.

    1: It won't give any detail, but the alert would tell you to go look at the log, since something is wrong

    2: I would need to set  up an api-key etc, which I haven't done yet, and it would create more admin work

     

    Hopefully this is of use to you.

     

    Cheers

    Hans

    (If my answer is helpful give it a kudo and/or mark it as a solution)