> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/maintenance-and-asset-management/identify-repeat-maintenance-pattern.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Identify Repeat Maintenance Pattern

Analyzes finished work order history for one functional object to detect repeat failure themes. Read-only.

| Business area                    | Action type |
| -------------------------------- | ----------- |
| Maintenance and Asset Management | Read-only   |

## Overview

Assets that fail the same way again and again drive most corrective maintenance cost. This skill takes one functional equipment object and reads its historical (finished and cancelled) work orders.

IFS Cloud reads equipment context and historical work orders to identify repeat maintenance patterns.

## How it works

{% stepper %}
{% step %}
Get Functional Object Context and historical WO gate.
{% endstep %}

{% step %}
Get Object Work Summary for context.
{% endstep %}

{% step %}
List Object Work Order History.
{% endstep %}

{% step %}
Get Historical Work Order Detail.
{% endstep %}

{% step %}
Optional List Historical Work Tasks.
{% endstep %}
{% endstepper %}

## Key capabilities

* Resolves site + object ID to a functional object (EquipmentObjectSeq) and checks the "Historical Work Orders" command gate.
* Reads all historical work orders on the object in a bounded date window.
* Groups work orders by coded fault fields (ErrSymptom, ErrCause, ErrClass, ErrType, ErrDiscoverCode, WorkTypeId, PerformedActionId).
* Calculates the frequency, the median interval between repeats and the most recent occurrence per theme.
* Excludes cancelled work orders and shows the share of uncoded work orders (data quality signal).
* Falls back to keyword clustering on ErrDescr when codes are missing (clearly labelled as "text-based").
* Adds current context (active work order and PM counts) from the navigator summary functions.
* Optionally lists historical work tasks on the object (finished/cancelled) for task-level detail.
* Returns a verdict, ranked themes with example WO numbers, and a recommended reliability action.

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component | Projection                                 |
| --------- | ------------------------------------------ |
| EQUIP     | EquipmentObjectStructureNavigationHandling |
| WO        | HistoricalWorkOrderForObjectHandling       |
| EQUIP     | HistoricalWorkOrderHandling                |

## Version compatibility

| Projection                                 | Supported IFS Cloud releases |
| ------------------------------------------ | ---------------------------- |
| EquipmentObjectStructureNavigationHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| HistoricalWorkOrderForObjectHandling       | 24R2, 25R1, 25R2, 26R1, 26R2 |
| HistoricalWorkOrderHandling                | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Scope matches the packaged tools and instructions only.
