> 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/health-and-safety/prioritize-overdue-safety-actions.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Prioritize Overdue Safety Actions

Safety actions in IFS Cloud (SafetyAction entity) come from risk assessments, incidents and safety inspections.

| Business area     | Action type |
| ----------------- | ----------- |
| Health and Safety | Read-only   |

## Overview

Each has a responsible person (PersonId), a priority (ActionPriorityNo / ActionPriority from basic data), a target completion date (ActionTargetComplete) and a state (Planned or Completed).

IFS Cloud OData integration.

## How it works

{% stepper %}
{% step %}
List: SafetyActions filter Planned.
{% endstep %}

{% step %}
Priority: ActionPriorities.
{% endstep %}

{% step %}
Hazard: RiskHazards key.
{% endstep %}

{% step %}
Detail: SafetyActions key.
{% endstep %}

{% step %}
Return structured results and any escalation guidance.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read open (Planned) safety actions in a bounded scope: person, risk assessment(s), incident, safety inspection, action type, or target date window.
* Compute days overdue from ActionTargetComplete.
* Resolve priority labels and order from the ActionPriorities basic data.
* Enrich risk-assessment actions with the linked hazard's frequency, severity, probability and risk potential.
* Identify the action source (risk assessment, incident, safety inspection) from verified reference attributes.
* Produce a deterministic ranked list with owner names.
* Summarize counts: open, overdue, due soon.
* Recommend one next step per top item without performing it.

## Requirements

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

| Component | Projection                   |
| --------- | ---------------------------- |
| OSHA      | SafetyActionsHandling        |
| OSHA      | SafetyActionPriorityHandling |
| OSHA      | HazardsHandling              |

## Version compatibility

| Projection                   | Supported IFS Cloud releases |
| ---------------------------- | ---------------------------- |
| SafetyActionsHandling        | 24R2, 25R1, 25R2, 26R1, 26R2 |
| SafetyActionPriorityHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |
| HazardsHandling              | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Scope matches the packaged tools and instructions only.
