but it may fail and I don't want to make the flow fail (because I want to gather the result and make my own Slack message with what as failed). Is there any way to do that?
t
Tomas Moreno
06/06/2024, 5:56 PM
@Adrien Besnard that's a hard hitting question we had to deal with. ultimately what we did was change the command we passed to the dbtcoreoperation to be something like
Copy code
dbt test || echo
the
||
ensure the second command only gets run if the first one fails. and echo should always succeed and return a status code of 0 for the whole group, which should pass the dbt core operation. if you know a better way I'd love to learn about it
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.