# Approve remote changes that act on the plant

> Request another site user's approval for a remote change that acts on the plant without a deploy, approve it with a signature, and apply it once within 60 minutes; what stays refused remotely, and Starter.

Product: eaxScada · Type: How-to guide · Editions: Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/how-to/approve-remote-changes/
Status: migrated page, not yet verified against the current code.

## Goal

An engineer working through eaxCloud remote access changes a driver connection, an alarm, a historian rule or another setting that acts on the plant at once, without a deploy. Another site user approves exactly that change, and the engineer applies it once.

## When a remote change needs an approval

Some changes act on the plant as soon as they are saved, without a deploy:

- driver connections, devices and tag mappings, and switching a connection on or off;
- alarm definitions and alarm classes;
- historian recording rules;
- eaxTags tags and scripts;
- translations (the alarm and screen texts operators see);
- the PLC configuration page of eaxScada;
- which project is active;
- reverting the project to a checkpoint.

From a remote session such a change needs another site user's approval when one of these holds:

- the edition is Enterprise;
- **Co-sign remote deploys** is on (Tools > Cloud);
- the active project (or, for an activation, the project made active) requires an e-signature to deploy.

With none of them, the change goes through as before. With one of them, the server refuses it (`403 remote_review_required`) and offers a review.

## Before you start

| What | Who | Edition |
|---|---|---|
| Request an approval | Lead_Engineer or Administrator, in a remote engineer session, signed in with their own site account | Pro, Enterprise |
| Approve or reject | another site user at the level of the project's review policy, never the requester | Pro, Enterprise |
| Apply | the requester only, once | Pro, Enterprise |

- The AI co-pilot account, API tokens and PLC tokens never request, approve or apply such a change.
- **Live editing** must be off for the project: with it on, a remote change would reach the operators at once, so it is never requested remotely. See [Deploy screens to operators](/docs/eaxscada/how-to/deploy-screens-to-operators/).
- On **Starter**, no review is offered: the change stays refused remotely while a reason above holds. Make it on site.

## Steps

**Diagram: A remote change that acts on the plant, from refusal to its single apply** (sequence)

A remote engineer saves a change that acts on the plant without a deploy. While a reason for an approval holds, eaxScada refuses it and offers a review. The engineer requests the approval, and eaxScada stores the exact change without making it. Another site user reads the server's comparison and approves with a signature. The requester then applies it: eaxScada checks the approval and that the configuration is unchanged, and either refuses with nothing changed or makes exactly the stored change, once.

**Participants**

- **Engineer** (person or role): remote session
- **eaxScada** (product): server
- **Approver** (person or role): a second user

**Steps, in order**

1. **Engineer → eaxScada** (configuration or deploy): Saves a change that acts on the plant. from an eaxCloud remote session
2. **eaxScada → Engineer** (refusal): 403 remote_review_required. nothing changed; the answer offers a review
3. **Engineer → eaxScada** (data or telemetry): Request approval. the exact change, at most 1 MiB
4. **eaxScada**: Stores the change, does not make it: recorded first: REVIEW_REQUESTED; keeps a fingerprint of the configuration
5. **eaxScada → Engineer** (reply): Change #n awaiting approval
6. **eaxScada → Approver** (data or telemetry): Shows its comparison of the change. Reviews > Live changes
7. **Approver → eaxScada** (authentication): Approves, signed with the password. never the requester or the same eaxCloud person
8. **eaxScada**: The approval is complete: recorded first: REVIEW_APPROVED; holds 60 minutes
9. **eaxScada → Engineer** (reply): Change #n approved: apply by HH:MM
10. **Engineer → eaxScada** (configuration or deploy): Apply now. the requester only
11. **eaxScada**: Checks, holding the area's lock: approved, in time, policy met; the configuration is unchanged
12. A check fails:
    1. **eaxScada → Engineer** (refusal): Refuses: nothing changed. recorded: LIVE_CHANGE_REFUSED
13. The checks pass:
    1. **eaxScada**: Makes exactly the stored change: claimed first: LIVE_CHANGE_CLAIMED; with every check of the editor's request
    2. **eaxScada → Engineer** (reply): Applied, or refused when applied. the approval is used up either way

The server makes the change it stored at the request, only on the configuration it was requested for, and only once.

### 1. Request the approval (remote engineer)

1. Make the change in its editor as usual, and save.
2. The server refuses it, and **Request approval** opens. It shows the area, the change in one line, and the note "This change acts on the plant".
3. Optionally add a title, a note for the approver, and approvers. When you tick approvers, only they may approve; leave all unticked to let any site user at the policy's level approve.
4. Choose **Request approval**.

Nothing changes yet. The top bar shows a chip: **Change #n awaiting approval**.

The request stores the change exactly as the editor sent it (at most 1 MiB). Your e-signature is never stored with it: a change that is signed when it is made (a checkpoint revert) is signed again when you apply it.

### 2. Approve it (another site user)

1. Open the **Reviews** panel and its **Live changes** tab. Each row shows the area, the change, who requested it, the state, the approvals and when it expires.
2. Open the row. The page shows the server's own comparison of the change with the configuration now. Passwords and keys show only "secret: changed" or "secret: unchanged".
3. Choose **Approve** (or **Reject**), type your password, and sign. A comment is optional with an approval; a rejection needs its reason.

The requester cannot approve their own change, and neither can a second site account of the same eaxCloud person. When the project's review policy asks for two approvers, two people approve.

### 3. Apply it, once (the requester)

1. The chip now says **Change #n approved: apply by HH:MM**. Choose **Apply now** in the chip, or on the review.
2. For a checkpoint revert, type the same reason as in your request and your password.
3. Confirm.

The server checks that the configuration of that area has not changed since the request, then makes exactly the approved change, with every check the editor's own request meets. The approval is used up whatever the outcome. Reopen the editor to see the result.

## Rules the server applies

**Diagram: A remote change, from awaiting approval to applied** (state machine)

A requested change awaits approval, then is approved, and the requester applies it once: it is being applied, then applied, or refused when applied. Until it is applied it can be rejected or withdrawn, and it can no longer be used once it has expired or the configuration of its area has changed. Being applied, applied and refused when applied all count as already used: a second apply is refused.

**States**

- **AWAITING APPROVAL** (state): stored, not made
- **APPROVED** (state): holds 60 minutes from the complete approval
- **BEING APPLIED** (state): approval used
- **APPLIED** (state): the change was made
- **REFUSED WHEN APPLIED** (state): request it again
- **REJECTED OR WITHDRAWN** (state): by an approver, or by the requester
- **NO LONGER USABLE** (state): expired, or the configuration changed: request it again

**Transitions**

- **Start → AWAITING APPROVAL** (transition). The remote engineer requests the approval of a refused change.
- **AWAITING APPROVAL → APPROVED** (transition): enough approvals. Another site user, never the requester and never the same eaxCloud person, approves with a signature. Where the review policy asks for two approvers, the second approval completes it.
- **APPROVED → BEING APPLIED** (transition): Apply now. The requester applies. The server checks that the change is approved and in time, that the configuration is unchanged and that the review policy is still met. A check that fails refuses the apply and leaves the change as it was.
- **BEING APPLIED → APPLIED** (transition): the change is made. The stored change is made with every check of the editor's own request, and it goes through.
- **BEING APPLIED → REFUSED WHEN APPLIED** (transition): the change is refused. One of those checks refuses the change, or the change fails. The approval is used all the same.
- **AWAITING APPROVAL → REJECTED OR WITHDRAWN** (transition): rejected or withdrawn
- **APPROVED → REJECTED OR WITHDRAWN** (transition): rejected or withdrawn. Until the change is applied, an approver who has not decided yet can still reject it, and the requester can withdraw it.
- **AWAITING APPROVAL → NO LONGER USABLE** (transition): after 24 hours, or the configuration changed
- **APPROVED → NO LONGER USABLE** (transition): after 60 minutes, or the configuration changed

An approval is spent the moment the server starts the change, whatever the outcome. Every other exit leaves the plant as it was.

- **60 minutes.** An approval holds 60 minutes from the moment it is complete; a later approval does not extend it. A request nobody approves within 24 hours expires.
- **Single use.** One apply per approval, by the requester. Once the server starts the change, the approval is used up, also when the change itself is then refused ("Refused when applied"): request the change again. An apply refused before that (not approved yet, expired, the configuration changed, the review policy now asks for more approvals) changes nothing and leaves the request as it was.
- **Same configuration.** If anything in that area changed since the request (another driver connection, another alarm, a translation), the approval no longer matches and is refused as stale. Save timestamps and runtime state do not count. The PLC configuration is checked right before the change; a change made on the PLC itself in that instant is not detected.
- **Waiting writes.** While an approved change is being applied, a write to the same area (local or remote) waits until it is done.
- **Recorded.** The audit trail records each request, approval, apply and refusal, with the change's hash, never its body (`REVIEW_REQUESTED`, `LIVE_CHANGE_CLAIMED`, `LIVE_CHANGE_APPLIED`, `LIVE_CHANGE_APPLY_FAILED`, `LIVE_CHANGE_REFUSED`). An apply cut off by a server stop is recorded at the next start as `LIVE_CHANGE_OUTCOME_UNKNOWN`.

## What stays refused remotely

While a reason above holds, these changes are refused remotely with no review offered. Make them on site:

- a deploy (it has its own [review before deploy](/docs/eaxscada/how-to/review-before-deploy/));
- turning the deploy e-signature setting on or off;
- instantiating a UDT (it can rewrite live tags: deadband, unit, description);
- applying a starter template (it adds alarm definitions);
- deleting the active project (it makes the default project active; the default project's own deploy e-signature counts too);
- the PLC configuration, tasks, fieldbus and I/O map written from eaxPLC's own Studio opened through remote access.

Whatever the reasons, a remote session never writes the runtime manifest, and a remote **Test connection** never connects to a channel that is disabled on site. A remote **Test connection** needs no review: it is a probe that never changes the status, round-trip time or error the site sees, and sends nothing on a connected channel's live session.

## Verify

- The Reviews panel's **Live changes** tab shows the change as **Applied**.
- The Operations audit lists `LIVE_CHANGE_APPLIED` for it.
- The editor, reopened, shows the change.

## Troubleshooting

| Symptom | Cause | Fix |
|---|---|---|
| "Not possible from a remote session" | The change cannot be requested for approval (list above), or the edition is Starter. | Make it on site. |
| "The configuration changed" | Something in that area changed after the request. | Make the change again in the editor and request approval again. |
| "The approval expired" | More than 60 minutes since the approval, or no approval within 24 hours. | Request it again. |
| "Already used" | The change was applied once already, or refused when applied. | Request it again if it is still needed. |
| "The same eaxCloud person requested this change" | The approver signed in through eaxCloud as the requester's own eaxCloud account. | Another person approves. |
| "Live editing is on for this project" | A remote change would reach the operators at once. | Switch live editing off on site first. |
| "No approval needed" | No reason holds now, or you are at the site. | Send the change again from the editor. |

## Reference

API (status codes and fields): `POST /api/collab/reviews/live` stages the change (`201`; `400 live_body_not_canonical`, `400 live_body_credential`, `403 live_review_identity`, `403 live_review_not_required`, `403 live_not_reviewable`, `409` with live editing on, `413 live_body_too_large`); `GET /api/collab/reviews?live=1` lists them; `GET /api/collab/reviews/{id}` returns one with its diff; approval and rejection use the review signature-ticket and decide routes; `POST /api/collab/reviews/{id}/apply` with `{}` (or `{"signature_ticket": ...}` for a revert) applies it (`403 live_review_not_requester`, `403 live_review_same_person`, `403 live_review_policy`, `409 live_review_not_approved`, `409 live_review_stale`, `409 live_review_consumed`, `410 live_review_expired`). A refused remote change carries `review_offer` in its `403 remote_review_required` answer when it can be reviewed. See also the [Design reviews API](/docs/eaxscada/reference/design-reviews-api/) and [Allow remote access from eaxCloud](/docs/eaxscada/how-to/allow-remote-access/).
