Reference > Rule Languages > Business Action Language > BAL Constructs > none of the following conditions are true

Summary

Negates a group of conditions.

Syntax

none of the following conditions are true:
    - <condition>* [,]

Description

The none of the following conditions are true construct allows you to group together a series of condition statements. The statement evaluates to true only if none of the conditions listed are true.

The construct must be followed by a colon and one or more condition statements, each one on a separate line and preceded by a dash. Note that the dash that precedes each condition must be a `short dash'.

Optionally, you can add a comma after the last condition statement in the list to signify the end of the list of grouped conditions. This will separate those conditions that form part of the construct from any additional condition statements that might follow.

Example

The following group of conditions tests that a customer is not a Gold senior member and not under 60.

if
   none of the following conditions are true:
      - the category of the customer is gold
      - the age of the customer is least 60
then...

Related Concepts

Rule Conditions
Groups of Condition Statements

Related Tasks

Creating Business Rules

Related Reference

if
all of the following conditions are true
any of the following conditions is true

Related Samples and Tutorials

Tutorial: Creating Business Rules