> For the complete documentation index, see [llms.txt](https://docs.aqua-cloud.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aqua-cloud.io/documentation/project-configuration/workflow-configuration/global-rules.md).

# Global rules

Define and manage global rules in aqua to control field behavior - set required, read-only, or default values for fields on item creation. Streamline workflows with customizable field settings.

Global rules are known as 'Limitations' in the old version.

Globar rules help you define how fields function when a user creates a new item in aqua, optimizing workflows and improving team efficiency.&#x20;

The field can be:

* required
* highlighted
* hidden
* read-only

Or

Can have

* default value
* specific value

### Adding Global rule

Click **Add Global Rule** to open a modal and define the rule:

* **Field** – Field to be modified
* **Has Attribute** – What to apply (Required, Read-only, Default Value, etc.)
* **Field Mode** (shown when Default Value is selected):
  * **String Field** – default text
  * **Dropdown Field** – value(s) or empty
  * **User Field** – current user or empty
* **For / Role** – Define roles
* **Value** – Whether this rule applies or not

You can:

* Add multiple rules
* Edit, duplicate, or delete rules from the list view (hover to reveal actions)

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FAs8AYF1ooibMBI1uzv5z%2Fimage.png?alt=media&amp;token=63e73b12-a9ba-4bce-8141-0daaf4cc9fbc" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Currently it's not possible to set rules for a rich text type field.
{% endhint %}

All rules will be added to the table

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FjdhqJVMbczwAIySfE1NL%2Fimage.png?alt=media&amp;token=1eaaffc5-2045-419f-8b15-f9096c2d5531" alt=""><figcaption></figcaption></figure>

You can duplicate and modify the rules or delete them.

Hover on therule to reveal actions.

{% hint style="info" %}
Global rules can be applied only when WORKFLOW feature is enabled.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aqua-cloud.io/documentation/project-configuration/workflow-configuration/global-rules.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
