eca_state_machine connects ECA with the State Machine module, enabling ECA to react to state machine events and trigger transitions. This integration allows you to build complex workflows where ECA can check an entity's state or test specific transitions, and then initiate a state change on an entity.
Integrates ECA with State Machine.
Provides integrations plugins for ECA with access to the following state machine components:
- Events
- Pre transition event
- Post transition event
- Conditions
- Testing the state of an entity
- Testing if the triggering event is for a given transition
- Actions
- Trigger a transition on an entity
Note: state machine requires a configured workflow to provide any functionality. Such workflow(s) need to be configured manually. When testing this integration module and in case you don't have any workflow configured yet, you could use the included submodule ECA State Machine Example. Once enabled, you'll have its workflow available on your Drupal site an can use it for testing - most likely not for production.