States

States organize what a module does. A module is composed of zero or more states, each with its own unique name. Each state contains a collection of instructions describing how the module is to act when that state is active.

Only one state can be active at a time. When a module is in a given state, all other states are ignored.

Modules can switch freely from one state to another based upon user-defined action triggers. If two or more instances of a module are running, a different state may be active in each.

Topics in this section:

Active States

State Naming