> 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/complete-ready-risk-assessment.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Complete Ready Risk Assessment

A risk assessment in IFS Cloud moves Planned -> InProgress -> Completed (or Cancelled).

| Business area     | Action type                                |
| ----------------- | ------------------------------------------ |
| Health and Safety | Updates IFS Cloud data after user approval |

## Overview

The standard CompleteCommand in the Risk Assessment client is enabled only in InProgress, calls the function RiskActionCompleted and, if safety actions are still open, only shows a warning that the user can override.

IFS Cloud OData integration.

## How it works

{% stepper %}
{% step %}
Read: ExtRiskAssessments.
{% endstep %}

{% step %}
Gate: RiskActionCompleted.
{% endstep %}

{% step %}
Person: GetUserCurrentPersonId.
{% endstep %}

{% step %}
Complete: ExtRiskAssessment\_Complete.
{% endstep %}

{% step %}
Verify: ExtRiskAssessments read-back.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one risk assessment with state, sign-off fields and ETag.
* Enforce the state gate (InProgress only) taken from the client command's enabled condition.
* Enforce the action gate with the server function RiskActionCompleted and list any open actions.
* Preview who will be stamped as CompletedBy (existing value or current user's person ID).
* Require explicit human approval for exactly one record.
* Execute the Complete state event with optimistic locking (If-Match).
* Read back and confirm the new state. Report any server error verbatim.
* Return blockers and the next business step when the gate fails.

{% hint style="info" %}
This skill keeps a human in the loop. It previews every change and updates IFS Cloud only after a user approves it.
{% endhint %}

## Requirements

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

| Component | Projection             |
| --------- | ---------------------- |
| OSHA      | RiskAssessmentHandling |

## Version compatibility

| Projection             | Supported IFS Cloud releases |
| ---------------------- | ---------------------------- |
| RiskAssessmentHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
