📄️ Config
A workflow is a defined sequence of states, actions, or processes that are followed to achieve a specific goal or complete a project. Workflows outline how work moves from one state to another, often involving multiple people, systems, or departments. They help in organizing and streamlining tasks to ensure consistency, efficiency, and accountability.
📄️ State
In a workflow, each state acts as a checkpoint. If a task fails, the workflow remains at that state, ensuring no progress is lost. Once a state changes, it becomes the new starting point for subsequent actions, meaning all future operations begin from that updated state. This approach ensures stability and consistency throughout the workflow process.
📄️ Action
An action in the context of a workflow is a specific operation or task that must be performed to trigger a transition from one state to another. Actions represent the work or decisions needed to move forward in the process and are often defined by the rules or conditions of the workflow.
📄️ Event
An event in the context of a workflow is a trigger or occurrence that determines which action or state the workflow should transition to next. It represents the outcome or result of an action, a condition being met, or an external input, which then influences the direction of the workflow.