You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @maxlevinps! I'm here to help you with any bugs, questions, or contributions. Let me know how I can assist you!
The issue you're encountering seems to be related to the serialization of multiple actions in the YAML output of your workflow. The expected structure for defining multiple actions in a Keep workflow YAML should look like this:
actions:
- name: <action-name-1>provider:
type: <provider-type-1>config: <provider-config-1>with:
<provider-specific-parameters-1>
- name: <action-name-2>provider:
type: <provider-type-2>config: <provider-config-2>with:
<provider-specific-parameters-2># Add more actions as needed
Each action should be listed under the actions key, with its own name, provider, config, and parameters under with[1][2].
In your case, it seems that only one action is being serialized in the YAML output. This might be due to a bug in the workflow editor or the YAML generation process. You might want to check if there are any specific conditions or constraints that could be affecting the saving of multiple actions, or if there are any known issues with the workflow editor that could be causing this behavior.
Describe the bug
As a user I want to define a workflow with a condition based on alert label match so I can have two different flows based on it.
To Reproduce
Build a workflow like the one in this image:
Hitting "Get YAML" returns the following YAML:
Expected behavior
Expected to see multiple actions in the actions section.
The text was updated successfully, but these errors were encountered: