---
title: "Lifecycle and statuses | Docs | REGES Gateway by R&D Copilot"
description: "The path of a register operation from draft to registered or rejected, who moves it from one status to the next and which statuses are final."
canonical: "https://reges.rdcopilot.com/docs/statuses-and-errors/lifecycle-and-statuses/"
language: en
updated: 2026-11-22
---

# Lifecycle and statuses

The path of a register operation from draft to registered or rejected, who moves it from one status to the next and which statuses are final.

A register operation has one `status` at a time, and every change of status is added to its `history`. This page gives the statuses, says who moves an operation from one to the next and what each move needs.

## The statuses

| Status | Meaning |
| --- | --- |
| Draft `draft` | The gateway holds the operation and the checks run on it. Nothing is transmitted. |
| Validated `validated` | No blocking check fails. |
| Approved `authorized` | A designated person other than the one who prepared it approved it. It is ready to be transmitted. |
| Transmitted `submitted` | A designated person transmitted it with the employer’s access, and the API recorded the transmission. |
| Processing `processing` | The register has it and has not answered yet. |
| Registered `registered` | The register answered with a reference, kept as it was given. The contract changes. |
| Rejected `rejected` | The register answered with its words, kept unchanged. The operation does not change; its correction is a new draft. |
| Manual review `manual_review` | The outcome of a transmission is unknown. Check at the register, then record its answer or transmit again. |
| Cancelled `cancelled` | Cancelled before anything was transmitted. |

## The path of an operation

An operation goes from `draft` to `validated`, `authorized` and `submitted`, then to `registered` or `rejected`. `processing` is optional: `recordAnswer` also answers an operation that is `submitted`. `submitted`, `registered` and `rejected` each send an event. See the [event catalogue](https://reges.rdcopilot.com/docs/events/event-catalogue/).

## Who moves an operation

Your software calls the operation; the gateway never moves an operation by itself. A person acts through an [access permission](https://reges.rdcopilot.com/docs/employers-and-access/designated-persons/) with the scope the step needs. A step that is not allowed in the current status is refused with `invalid_status`, and a stale `expectedRevision` with `revision_conflict`.

| Transition | API operation | Guard | Refusal |
| --- | --- | --- | --- |
| `draft` → `validated` | `validateOperation` | No blocking check fails. | `blocked_by_checks` |
| `validated` → `authorized` | `authorizeOperation` | The designated person holds `approve` for the employer and is not the person who prepared the operation. | `not_permitted, same_person` |
| `authorized` → `submitted` | `submitOperation` | The designated person holds `transmit` for the employer. After the deadline, `reason` is required. | `not_permitted, reason_required` |
| `submitted` → `processing` | `acknowledgeOperation` | The register has the operation and has not answered. | `invalid_status` |
| `submitted`, `processing`, `manual_review` → `registered`, `rejected` | `recordAnswer` | `registered` needs the `reference`; `rejected` needs the register’s `message`. | `answer_incomplete` |
| `submitted`, `processing` → `manual_review` | `flagUnknownOutcome` | The outcome of the transmission is not known. `reason` is required. | `reason_required` |
| `manual_review` → `submitted` | `resubmitOperation` | The same rules as `submitOperation`. | `not_permitted, reason_required` |
| `draft`, `validated`, `authorized` → `cancelled` | `cancelOperation` | Nothing was transmitted yet. | `invalid_status` |
| `rejected` → a new draft | `correctOperation` | A rejected operation has one correction. | `already_corrected` |

## Four eyes

The person who approves is never the person who prepared the operation. `authorizeOperation` refuses the same person with `same_person`. Approving and transmitting are separate scopes, so one person can hold one of them and not the other.

## What registration does to the contract

The contract changes when the register’s answer is recorded as `registered`, not before.

| Kind | Effect on the contract |
| --- | --- |
| Hire (`hire`) | The contract becomes `active`. |
| Change of terms (`change-terms`) | The contract takes the new occupation, type, duration, workplace or working time. |
| Change of salary (`change-salary`) | The contract takes the new base salary. |
| Suspension (`suspend`) | The contract becomes `suspended`. |
| End of suspension (`resume`) | The contract is `active` again. |
| Termination (`terminate`) | The contract becomes `terminated`. |
| Transfer (`transfer`) | The contract moves to the other employer. |
| Secondment (`secondment`) | The contract stays as it is. |

## Final statuses

-   `registered`, `rejected` and `cancelled` are final. The operation, its reference and the register’s words do not change.
-   A `rejected` operation is never edited. Its correction is a new draft that carries `correctionOf`, and there is one correction. See [Cancel or correct](https://reges.rdcopilot.com/docs/operations/cancel-or-correct/).
-   `cancelled` is possible only while nothing was transmitted: from `draft`, `validated` or `authorized`.
-   `manual_review` is not final. It means the outcome of a transmission is unknown. Check at the register, then record its answer with `recordAnswer` or transmit again with `resubmitOperation`.
-   Treat a status you do not know as not final, so your code keeps working when the version adds one.

## Revision

The `revision` of an operation grows with every accepted change. Send it as `expectedRevision` with every change to an existing operation: if the operation changed since you read it, the request is refused with `revision_conflict` and nothing is applied. See [Idempotency and concurrency](https://reges.rdcopilot.com/docs/reference/idempotency/).

## History

Every entry of `history` has the `status`, the time `at` and the person `by` where there is one. `reference` holds what the register gave for `registered`, and `message` the register’s own words for `rejected`: both are kept exactly as they came. `reason` and `late` belong to a transmission after its deadline, and `reason` also explains `manual_review`.

The last entries of a registered and of a rejected operation

```json
[
  {
    "status": "registered",
    "at": "2026-11-02T10:12:00Z",
    "by": null,
    "reference": "R2026-0479033",
    "message": null,
    "reason": null,
    "late": false
  },
  {
    "status": "rejected",
    "at": "2026-11-06T11:20:00Z",
    "by": null,
    "reference": null,
    "message": "Funcția nu corespunde codului COR transmis.",
    "reason": null,
    "late": false
  }
]
```
