Skip to content

Commit

Permalink
[irods/irods7268] Added extra warning to advise users against using o…
Browse files Browse the repository at this point in the history
…n().
  • Loading branch information
FifthPotato committed Jul 11, 2024
1 parent 9542557 commit f576e47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/plugins/irods_rule_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,9 @@ This Is Not A Valid Function Name or Rule Name

### Rule Condition

!!! Note
Use of `on()` may lead to unexpected behavior. If all `on()` conditions within a rule fail, the rule will return an error. Consider use of `if()` for more familiar flow control.

Rule conditions should be expressions of type `boolean`. The rule is executed only when the rule condition evaluates to true. There exist three failure conditions that will cause a rule failure error:

1. All rule conditions evaluate to false.
Expand Down

0 comments on commit f576e47

Please sign in to comment.