--- alias: user-guide-maintenance-activity-order-index tags: - maintenance description: "Maintenance Activity Orders manage automated or manual tasks with configurable triggers and states" --- # Maintenance Activity Order :lock: MaintenanceActivityOrder.**Show** ## Overview **Maintenance Activity Orders** (**MAOs**) are accessed via a Scheduler available in the [[user-guide-maintenance-index|Maintenance Group]], either in the [[user-guide-execution]] or the [[user-guide-management]] view, according to the Role that the user currently holds. The time and usage based **MAOs** are always created automatically by the system. Ad hoc **MAOs** are created via a manual request using the [[user-guide-request-maintenance-activity-order]] function. A **Maintenance Activity Order** can be of four types: * **Time** based - the trigger is activated by time. * **Usage** based - the trigger is activated by usage. * **Time** and **usage** based - the trigger is activated either by time or usage. * **Ad hoc** - the trigger is activated manually. Besides the Universal state, the **MAO** has two important independent system states: * **Schedule State** - defines the **MAO** state from a scheduling (triggering) perspective. Possible values are: * Before early due * Early due * Due * Late due * **Execution State** - defines the **MAO** from an execution perspective: * Requested * Approved * Released * In Progress * Waiting For Acceptance * Closed * Rejected * Reworked * Skipped * Closed As Joined * Canceled When viewed within the context of a schedule, the vertical line on the left of a **Maintenance Activity** represents the Schedule State as described in the next picture. ```mermaid graph LR A1[Before Early Due] --> A2[Early Due] A2 --> A3[Due] A3 --> A4[Late Due] classDef mermaid_mm_beforeearlydue color:#000, fill:#00aad0, stroke:#000, stroke-width:1px, font-size:100%; classDef mermaid_mm_earlydue color:#000, fill:#e5ca82, stroke:#000, stroke-width:1px, font-size:100%; classDef mermaid_mm_due color:#000, fill:#33cc99, stroke:#000, stroke-width:1px, font-size:100%; classDef mermaid_mm_latedue color:#000, fill:#e17572, stroke:#000, stroke-width:1px, font-size:100%; class A1 mermaid_mm_beforeearlydue class A2 mermaid_mm_earlydue class A3 mermaid_mm_due class A4 mermaid_mm_latedue ``` The background color of a **Maintenance Activity** represents whether the **Maintenance Activity** is In Progress (in green) or Released (in light blue). On the right side of the **Maintenance Activity**, two icons indicate the Type and the Execution State: ![Maintenance Activity Schedule Type and Execution State icons](images/mao_schedule_type_execution_state.png) The execution workflow is described in the next picture. ```mermaid graph TD Start -->|Request| A1 A1[Requested] ==>|Approve| A2[Approved] A1 -.->|Skip if AutoApproval| A2 A2 ==>|Release| A3[Released] A2 -.->|Skip if AutoRelease| A3 A3 ===>|Begin| A4[In Progress] A4 -.->|Skip if AutoAccept| A6 A4 ==>|Complete| A5[Waiting For Acceptance] A5 ==>|Accept| A6[Closed] A5 -->|Rework| A7[Reworked] A4 --->|Abort| A3 A1 -->|Skip| A8[Skipped] A2 -->|Skip| A8[Skipped] A3 -->|Skip| A8[Skipped] A1 ---->|Reject| A9[Rejected] A1 ---->|Join| A10[ClosedAsJoined] A1 ---->|Cancel| A11[Canceled] classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200; classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden; classDef mermaid_mao_requested color:#000, fill:#fff, stroke:#00318a, color:#000, stroke-width:6px, stroke-dasharray: 5 5, font-size:100%; classDef mermaid_mao_approved color:#000, fill:#fff, stroke:#ffc000, color:#000, stroke-width:3px, font-size:100%; classDef mermaid_mao_released color:#000, fill:#fff, stroke:#92d050, color:#000, stroke-width:3px, font-size:100%; classDef mermaid_mao_inprogress color:#000, fill:#fff, stroke:#00b0f0, color:#000, stroke-width:3px, font-size:100%; classDef mermaid_mao_waiting color:#000, fill:#fff, stroke:#ff5800, color:#000, stroke-width:3px, font-size:100%; classDef mermaid_mao_closed color:#000, fill:#fff, stroke:#ff0000, color:#000, stroke-width:3px, font-size:100%; class Title mermaid_title class Start mermaid_start class A1 mermaid_mao_requested class A2 mermaid_mao_approved class A3 mermaid_mao_released class A4 mermaid_mao_inprogress class A5 mermaid_mao_waiting class A6,A7,A8,A9,A10,A11 mermaid_mao_closed ``` !!! note Most of the operations which are possible in a MAO can be made on several MAOs at the same time. For more information, see the [[tutorials-maintenancemanagement]] tutorial. {{ generate_index() }}