I have started migrating my mistral workflows into Orquesta format and have a hard time understanding how I set up something similar to “task-defaults” in Orquesta. If any of my tasks fail, I want to send a email notifying me about the failure. But I would prefer not to have to set the same lines of code in all task. Is it possible?
⚠️ We've moved!
To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.
Use 🔗 Github Discussions to ask your questions.
I setup a rule to trigger on a failed execution. That rule kicks off a workflow to send me an email. That way you don’t have to change all your workflows.
With ‘task-defaults’ it’s easy to collect different data within different flow and send a detailed mail.
It may be hard to do this in a rule right?
Does that mean that something similar to “task-defaults” isn’t available with Orquesta?
As far as I know it is not available. You could send all your failures to a workflow that sends different emails based on the name of the failed action. It shouldn’t be more difficult just a different way of solving the problem.