# Roles

## Описание Role <a href="#description_role" id="description_role"></a>

```xml
<Role Name="RoleName">
  <!--Тэги, специфичные для Role-->
</Role>
```

### Атрибуты Role <a href="#attributes_role" id="attributes_role"></a>

<table data-header-hidden><thead><tr><th align="center"></th><th width="446.3333333333333"></th></tr></thead><tbody><tr><td align="center">Name</td><td><p>Название роли.</p><p></p><p>Обязательный атрибут. Любое значение будет переведено в текстовое.</p></td></tr></tbody></table>

## Тэги, специфичные для Role <a href="#tags_role" id="tags_role"></a>

### Permissions <a href="#permissions" id="permissions"></a>

Разрешения.

Обязательный тэг. Значение тэга `<Permissions>`: список тэгов [`<Permission>`](#permissions_permission).

```xml
<Permissions>
  <Permission Name="Permission1Name" />
  <Permission Name="Permission2Name" />
</Permissions>
```

#### Тэг `<Permission>` <a href="#permissions_permission" id="permissions_permission"></a>

Разрешение.

Обязательный тэг. Значение тэга `<Permission>`: не ожидается.

#### Атрибуты тэга `<Permission>` <a href="#attributes_tag_permissions_permission" id="attributes_tag_permissions_permission"></a>

<table data-header-hidden><thead><tr><th align="center"></th><th width="446.3333333333333"></th></tr></thead><tbody><tr><td align="center">Name</td><td><p>Название разрешения.</p><p></p><p>Обязательный атрибут. Ожидается название одного из разрешений, описанных в процессе.</p></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wfsys.gitbook.io/workflow-engine-syntax/workflow_engine/roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
