Flow
Flow in Inistate is a set of defined transitions between States that represent the lifecycle of an entity, dictating how it can move from one State to another.
Last updated
Flow in Inistate is a set of defined transitions between States that represent the lifecycle of an entity, dictating how it can move from one State to another.
Last updated
Flow Configuration: Each Flow defines valid transitions, ensuring entities follow an expected path.
Conditional Transitions: Some Flows allow conditional steps where specific criteria must be met for transitions to occur.
Example 1: Medication Log Flow
Flow
Current State
Action
Next State
Not Started
Start
In Progress
In Progress
Finish
Completed
In Progress
Refill
Refill Pending
Refill Pending
Done
In Progress
In Progress
Discontinued
Discontinued
Example 2: Leave Application Flow
Current State
Action
Next State
Submitted
Approve
Approved
Submitted
Reject
Rejected
(Any State)
Cancel
Canceled
Sequential: Ensure Flows progress logically, allowing smooth transitions.
Fallback Paths: Where applicable, include fallback paths to handle unexpected scenarios.
Documentation: Document each Flow to ensure all team members understand the process.