# Rule States in Rule Flow

## Understand rule states in Rule Flow

To make it easier to work with rules in Rule Flow, the rules have colored borders.

![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/zK8FWmqHg2kg6nTbJyOe/colors.PNG)

### Purple - Neutral state

The purple border has a rule if it is in a neutral state - it has no warnings or errors.

![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/WkYLIdCcmIIk1Pt1BsLa/PurpleBox.PNG)

### Green - Active state

If the user works with the rule, ie has it clicked and sees its sidebar, the rule changes color to green.

![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/astjOLGOhMwFQNVyCruO/GreenBox.PNG)

### Yellow - Warning

If a rule has a warning, it will be demarcated a yellow border and an icon![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/Ytm04CZlHnCghbQm6ECj/warningError2.png)will appear next to it.

![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/IDDWrQbrlcvGflUyspCD/warningBox.PNG)

{% hint style="info" %}
When you point to the![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/Ytm04CZlHnCghbQm6ECj/warningError2.png), warning information will be displayed.
{% endhint %}

### Red - Error

Errors are serious mistakes that prevent Rule Flow from being saved. A red border and an icon![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/g9CmHbEHqD0OzieBNVdV/errorIcon.png)appear next to a rule that contains errors.

![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/F047PyNpQEozfxDrRiUU/ErrorBox.PNG)

{% hint style="info" %}
When you point to the![](https://content.gitbook.com/content/dv9UprVu3KjO5la255ws/blobs/g9CmHbEHqD0OzieBNVdV/errorIcon.png), errors information will be displayed.
{% endhint %}
