-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use notify with orquesta workflow and jinja expression support? #138
Comments
Currently, there is already a |
@m4dcoder thanks for looking into it. well that's a very unpredictable syntax. Which route? which notify trigger will it choose? To solve my problem, I had to write custom notify action in the workflow. |
It is now 3.1.0. Is there a way to specify format for orquesta notify yet? |
@moejarv You can use this example at https://github.com/StackStorm/st2/blob/master/st2tests/st2tests/fixtures/packs/orquesta_tests/actions/notify.yaml to specify a simple notify for the list of tasks that you want to get notification on. As for the original request in this issue, it's still open. |
I also need either jinja 2 or yaql to help with formatting. Guess I need to try find out how to write custom notify action then. |
I'm having issues with getting Even if I specify to notify on a single task, I still see multiple I didn't have too much time to dig in yet, but once I do, I will open a new issue with some additional context. Basically, what I wanted to achieve is to only notify on the whole workflow failure (not on sub tasks). I tried to achieve that by specifying "notify" parameter and setting the default value to a dummy task which is never called. Even when doing that, I see multiple notifications being triggered when a single task in a workflow fails, which makes it looks like this parameter is not being used or similar. |
Trip on it today, relay need it, it makes orquesta useless for us, only workaround is to write manual actions all over the place :-( Also issue with trigger 2 notification with a single task also happen on me |
Issue: Not able to notify in slack channel with workflow output/stdout. How to use workflow context and variable in notify parameter, without writing for each of the task in the workflow
Workflow-meta.yaml
Slack channel output:
The text was updated successfully, but these errors were encountered: