Rule states
You can also view the state of the rules of the RuleEngine pipeline in the Live Status. A rule has the following states:
| NotInitialized: The configuration of the rule has been read, but the rule has not yet been processed. |
| Initializing: The rule is initializing. The necessary sources are generated in the RuleEngine. |
| Deactivated: The rule is ready for activation. It is not currently running. |
| Activating: The rule is being activated. Any triggers are being started. |
| Pending: The rule is activated. Any triggers have been started. The rule can now be triggered manually. StreamingDataRules go directly from the Pending state to the Starting state. |
| Starting: The rule is starting. The corresponding processing function blocks are generated and a connection to the data sources is established. |
| Running: The rule is running and processing data. |
| Stopping: The rule is stopping. Stopping is called when the RuleEngine pipeline is stopped. BatchDataRules also stop when all data has been processed. The rule then switches to the Pending state. |
| Deactivating: The rule is being deactivated. It is no longer possible to start up using a trigger. |
| Invalid: The rule is in an invalid state and must be restarted. |
| Error: The rule is in an error state. This can happen, for example, if a storage is not available. In this case, the rule restarts automatically as soon as the storage is available again. For all other errors, the rule must be restarted manually. This can be done via the Storage Provider Manager or the API or PLC library. |
| WaitingForData: The data source for the corresponding rule is currently offline and is not sending any data. The rule remains in this state until the data source begins sending data again. |








