Status Flow
Every instance and every step in RAMP follows a defined status lifecycle. Understanding these lifecycles — which transitions are possible, what triggers them, and who can perform them — is essential for effective execution management.
Instance Status Lifecycle
Section titled “Instance Status Lifecycle”An instance moves through a series of statuses from creation to completion. The diagram below shows all possible states and transitions.
+-----------+ | Draft | +-----+-----+ | Plan Execution | +-----v-----+ +-------| Planned | | +-----+-----+ Reset to | Draft Start Execution | | | +-----v-----+ Force Cancel +------>| Running |-----+---or Cancel--->+------------+ +-----+-----+ | | Cancelled | | | +------------+ Pause | | | | +-----v-----+ | | Paused |-----+ +-----+-----+ | Resume| | +-----v-----+ | Running | +-----+-----+ | Complete | +-----v-----+ | Completed | +-----------+Instance Statuses
Section titled “Instance Statuses”| Status | Description | Editable? | Steps Executable? |
|---|---|---|---|
| Draft | Initial state after creation. Instance can be freely configured: variables, notes, team assignments, step overrides. | Yes | No |
| Planned | Instance has scheduled start and end dates. Ready to begin execution. Can be reset back to Draft. | Limited | No |
| Running | Instance is actively being executed. Steps can be started, completed, and managed. | No | Yes |
| Paused | Execution temporarily stopped. No new steps can be started. Existing running steps remain in their current state. | No | No (paused) |
| Completed | All steps finished. Instance is finalized and read-only. | Read-only | No |
| Cancelled | Execution stopped before completion. Instance is read-only. | Read-only | No |
Instance Transitions
Section titled “Instance Transitions”| From | To | Trigger | Who Can Do It |
|---|---|---|---|
| Draft | Planned | Plan Execution — set planned start and end dates | Instance Head, Deputy Head |
| Planned | Draft | Reset to Draft — return instance for further editing | Instance Head, Deputy Head |
| Planned | Running | Start Execution — begin active execution | Instance Head, Deputy Head |
| Running | Paused | Pause — temporarily halt execution | Instance Head, Deputy Head |
| Running | Completed | Complete — finalize the instance after all steps are done | Instance Head, Deputy Head |
| Running | Cancelled | Cancel or Force Cancel — stop execution before completion | Instance Head, Deputy Head |
| Paused | Running | Resume — continue execution | Instance Head, Deputy Head |
| Paused | Cancelled | Cancel — stop execution while paused | Instance Head, Deputy Head |
Planning an Instance
Section titled “Planning an Instance”Before execution can begin, an instance must be transitioned from Draft to Planned.
- Navigate to the instance detail page (instance must be in Draft status)
- Click the Plan Execution button in the instance header
- In the dialog:
- Set the Planned Start Date/Time (when execution will begin)
- Set the Planned End Date/Time (target completion date)
- Click Plan Execution to confirm
- The instance transitions to Planned status
Reset to Draft
Section titled “Reset to Draft”If a Planned instance needs further changes before execution begins, it can be returned to Draft status.
- Navigate to the instance (must be in Planned status)
- Click the Reset to Draft button (undo icon with warning color)
- Confirm the action in the dialog
- The instance returns to Draft status with full editing capabilities
Who can reset: Instance Head, Deputy Head, Global Instance Head, Global Instance Deputy Head
Starting Execution
Section titled “Starting Execution”- Ensure the instance is in Planned status
- Click Start Execution in the instance header
- The instance transitions to Running status
- The actual start time is recorded
- The first startable step(s) become available for execution
Pausing and Resuming an Instance
Section titled “Pausing and Resuming an Instance”Pausing an instance suspends all execution activity. No new steps can be started while the instance is paused, but steps that were already in Running status remain in that state.
- Click Pause in the instance header
- Optionally provide a reason for pausing
- The instance transitions to Paused status
Resume
Section titled “Resume”- Click Resume in the instance header
- The instance returns to Running status
- Previously paused steps can be resumed
- Execution continues normally
Completing an Instance
Section titled “Completing an Instance”- Ensure all required steps are in a terminal state (Completed, Skipped, or Aborted)
- Click Complete in the instance header
- The instance transitions to Completed status
- All data becomes read-only
Cancelling an Instance
Section titled “Cancelling an Instance”- Click Cancel in the instance header (available during Running or Paused status)
- Provide a mandatory reason for cancellation
- Confirm the action
- All running and pending steps are stopped
- The instance transitions to Cancelled status
Step Status Lifecycle
Section titled “Step Status Lifecycle”Individual steps within an instance follow their own status lifecycle, which operates within the context of the instance’s overall status.
+-----------+ | Pending | +-----+-----+ | Start | +-----v-----+ | Started | (transitional) +-----+-----+ | v +-----------+ +----------| Running |----------+----------+ | +-----+-----+ | | | | | | Pause Complete Skip Abort | | | | +-----v-----+ +-----v-----+ +------v----+ +--v--------+ | Paused | | Completed | | Skipped | | Aborted | +-----+-----+ +-----------+ +-----------+ +-----------+ | Resume | +-----v-----+ | Running | +-----------+
Cancel can occur from Running or Paused:
Running/Paused ---Cancel---> CancelledStep Statuses
Section titled “Step Statuses”| Status | Description | Terminal? |
|---|---|---|
| Pending | Initial state. Step is waiting to be started. | No |
| Started | Transitional state immediately after initiation (brief). | No |
| Running | Step is actively being executed. Timer is running. | No |
| Paused | Step execution temporarily suspended. Timer stopped. | No |
| Completed | Step finished successfully with a completion result. | Yes |
| Skipped | Step was skipped (with reason). | Yes |
| Cancelled | Step execution was cancelled before completion. | Yes |
| Aborted | Step was aborted due to failure. | Yes |
Step Transitions
Section titled “Step Transitions”| From | To | Trigger | Notes |
|---|---|---|---|
| Pending | Started/Running | Start | Step must be startable (dependencies met, parent started) |
| Running | Completed | Complete | Requires completion result selection; evidence check if applicable |
| Running | Paused | Pause | Timer stops; paused duration tracked |
| Running | Skipped | Skip | Only if step is skippable; reason required |
| Running | Aborted | Abort | Reason required; marks step as failed |
| Running | Cancelled | Cancel | Reason required |
| Paused | Running | Resume | Timer resumes |
| Paused | Cancelled | Cancel | Reason required |
| Any non-terminal | Completed | Force Complete | Instance Head/Deputy only; reason + consent required |
| Any non-terminal | Skipped | Force Skip | Instance Head/Deputy only; reason + consent required |
| Any non-terminal | Aborted | Force Abort | Instance Head/Deputy only; reason + consent required |
Startability Rules
Section titled “Startability Rules”A step becomes startable (its Start button is enabled) only when all of the following conditions are met:
- Instance is Running: The instance must be in Running status (not Draft, Planned, Paused, or terminal)
- Step is Pending: The step must be in its initial Pending state
- Parent is started: If the step has a parent, the parent must be in Started, Running, or Paused status
- Sequential dependencies met: If the step has sequential siblings, all preceding siblings must be in a terminal state (Completed, Skipped, Aborted, or Cancelled)
- Permissions: The user must have the Executor, Instance Head, or Deputy Head role
If any of these conditions is not met, the step displays a Blocked indicator. Hovering over the indicator shows the specific reason.
Terminal vs. Non-Terminal States
Section titled “Terminal vs. Non-Terminal States”Understanding which states are terminal is important for determining when subsequent steps can proceed and when the instance can be completed.
Terminal step states (no further transitions possible):
- Completed
- Skipped
- Cancelled
- Aborted
Non-terminal step states (transitions still possible):
- Pending
- Started
- Running
- Paused
Terminal instance states:
- Completed
- Cancelled
Non-terminal instance states:
- Draft
- Planned
- Running
- Paused
Visual Indicators
Section titled “Visual Indicators”The execution view uses color coding and animations to show status at a glance.
Step Status Colors
Section titled “Step Status Colors”| Visual | Meaning |
|---|---|
| Blue pulse animation | Step is currently Running |
| Green background | Step is Completed |
| Red background | Step is Cancelled or Aborted |
| Orange background | Parent step with one or more failed/aborted children |
| No background | Step is Pending or not yet started |
Step Badges
Section titled “Step Badges”| Badge | Meaning |
|---|---|
| Sequential icon (arrow right) | Step must complete before next sibling starts |
| Parallel icon (branching arrow) | Step can run simultaneously with siblings |
| Virtual icon (refresh arrows) | Dynamically generated step from a variable list |
How Status Changes Propagate
Section titled “How Status Changes Propagate”All status changes are broadcast in real time to every user viewing the instance:
- Step status changes update the step tree and detail panel within approximately one second
- Instance status changes update the header status chip and available action buttons
- Color coding updates automatically as steps transition between states
- Blocked indicators recalculate when sibling or parent steps change status
Summary: Complete Status Flow
Section titled “Summary: Complete Status Flow”INSTANCE LIFECYCLE:
Draft --> Planned --> Running --> Completed ^ | | +----------+ +--> Paused --> Running (resume) (Reset to Draft) | +--> Cancelled
STEP LIFECYCLE:
Pending --> Running --> Completed (with result) | +--> Paused --> Running (resume) | +--> Skipped (reason required) | +--> Aborted (reason required) | +--> Cancelled (reason required)
Force actions (Head/Deputy only): Any non-terminal --> Completed (Force Complete) Any non-terminal --> Skipped (Force Skip) Any non-terminal --> Aborted (Force Abort)