> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LifecycleRule

> Holds a condition and the guidance shown when it fails.



**Kind**: `object`

## Fields

**`assertion`**: `SearchPredicate!`

The condition an applicable entry must satisfy.

---

**`assertionJson`**: `JSON!`

The assertion as JSON in the shape of the Predicate input, however deeply it is nested.

---

**`message`**: `String!`

Guidance shown with this rule's outcome.

---

**`precondition`**: `SearchPredicate`

A false precondition skips this rule. Null means the rule always applies.

---

**`preconditionJson`**: `JSON`

The precondition as JSON in the shape of the Predicate input. Null when there is none.

---

**`ruleId`**: `UUID!`

Server-generated id of the rule (a UUID), kept when the rule moves between steps.

---

**`severity`**: `LifecycleRuleSeverity!`

`ERROR` blocks completion; `WARNING` and `ADVISORY` don't.

---

**`slug`**: `String!`

Your id for the rule, unique among all rules in this lifecycle.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.