State Machine Automated Transition
This module automates state transitions in workflows managed by the State Machine module. It allows you to configure which transitions can occur automatically, streamlining entity state management by triggering subsequent states when conditions are met.
The State Machine Automated Transition module allows automatic state transitions (chained transition) in state_machine controlled workflows. It provides a configuration interface to select which transitions should be applied automatically, streamlining entity state management. Transitions will only be applied automatically if the corresponding guards allow it.
Features
- Automated State Transitions – Configurable automatic transitions for entities using the State Machine module.
- Configuration UI – Admin interface to list workflows and transitions, allowing users to select which should be applied automatically.
- Transition Orchestrator – On entity update, the module checks for applicable transitions and applies the first valid one.
- Simple Handling of Multiple Matches – If multiple transitions are found, the module selects the first applicable one for simplicity.
Use Cases
- Moving orders to the next status in a custom e-commerce workflow.
- Automatically closing support tickets after a response is marked as resolved.
Post-Installation
- Install and enable the module.
- Navigate to the configuration page (
/admin/config/system/automated-transition-settings). - Select workflows and transitions that should be applied automatically.
- Save the configuration, and the module will handle transitions on entity updates.
Additional Requirements
- State Machine module
Similar Projects
- ECA State Machine – Provides visual interface for configuring State Machine-based workflows.
Supporting this Module
If you find this module useful, consider contributing by reporting issues, submitting patches, or sponsoring development.
Community Documentation
TBD – Documentation and guides will be added as the project evolves.