We currently have two mechanisms to prevent Behave from executing subsequent steps:
However, the platform does not display a rule if:
Empty List: If a list is empty, the following steps will always yield empty results.
context.applicableVariable: This is used to skip steps that are irrelevant, such as when a schema doesn't apply.
This is not the desired behavior. Instead, we should always log a ValidationOutcome with a status of "NotApplicable." Since the platform searches for the maximum severity, adding this outcome will not affect other results negatively.
This ensures that all rules are displayed for every uploaded file.
We currently have two mechanisms to prevent Behave from executing subsequent steps:
However, the platform does not display a rule if:
context.applicable
Variable: This is used to skip steps that are irrelevant, such as when a schema doesn't apply.This is not the desired behavior. Instead, we should always log a ValidationOutcome with a status of "NotApplicable." Since the platform searches for the maximum severity, adding this outcome will not affect other results negatively. This ensures that all rules are displayed for every uploaded file.