Skip to content
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

Multiple conditions in yaml file #193

Closed
joerkent opened this issue Mar 1, 2019 · 2 comments
Closed

Multiple conditions in yaml file #193

joerkent opened this issue Mar 1, 2019 · 2 comments

Comments

@joerkent
Copy link

joerkent commented Mar 1, 2019

Can you have multiple conditions in the yaml file similar to actions?

conditions:

  • "condition_one"
  • "condition_two"
@fmbenhassine
Copy link
Member

how would easy rules interpret this?

  • condition_one or condition_two

or

  • condition_one and condition_two

So as you can see, that's not possible. You have to specify only one condition and combine sub conditions as you need. for example:

  • condition: "condition_one xor condition_two"

@joerkent
Copy link
Author

joerkent commented Mar 1, 2019

That is exactly what I needed, Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants