# 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://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj39iv3VzGdeW2uGJOc%2Fcolors.PNG?alt=media\&token=2c52aeab-37f9-47c5-98d4-aff0bbeaaa68)

### Purple - Neutral state

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

![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3GZ07xudX4JaU-akL%2FPurpleBox.PNG?alt=media\&token=dee2f5d8-009a-4b5a-ba23-fe85be22793a)

### 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://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3Gs65qt_xB_Z89q7j%2FGreenBox.PNG?alt=media\&token=ec40fb96-61f1-4760-aeb8-b3248174023f)

### Yellow - Warning

If a rule has a warning, it will be demarcated a yellow border and an icon![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mi_gzQInMhIFTDlhkzm%2F-Mi_iiFVm1PXjK1N1tBh%2FwarningError2.png?alt=media\&token=4bf70b8b-3103-40e9-a10c-38c80c4325b5)will appear next to it.

![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3FSuSjRFnc-LoyADv%2FwarningBox.PNG?alt=media\&token=82de8006-eff1-4455-84bd-55d4cf2f2c40)

{% hint style="info" %}
When you point to the![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mi_gzQInMhIFTDlhkzm%2F-Mi_iiFVm1PXjK1N1tBh%2FwarningError2.png?alt=media\&token=4bf70b8b-3103-40e9-a10c-38c80c4325b5), 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://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-MiaRTnRCde7g25PFHGJ%2F-MiaUcsWKJfc75BFcqbT%2FerrorIcon.png?alt=media\&token=0c5503be-1906-41d5-8d2c-bd98fd62abd5)appear next to a rule that contains errors.

![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-Mj33eM-1pe2YxkB1VhB%2F-Mj3FoSnqTlqxD4UukxW%2FErrorBox.PNG?alt=media\&token=5d0da4bc-fc1a-495f-b150-f3f368302904)

{% hint style="info" %}
When you point to the![](https://437457296-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MN4F4-qybg8XDATvios%2F-MiaRTnRCde7g25PFHGJ%2F-MiaUcsWKJfc75BFcqbT%2FerrorIcon.png?alt=media\&token=0c5503be-1906-41d5-8d2c-bd98fd62abd5), errors information will be displayed.
{% endhint %}
