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

# role_workflow table

> Knowledge base workflow access rights associated with a role

## role\_workflow Table (327)

Knowledge base workflow access rights associated with a role

## Fields

| Name             | Description                        | Type                                 | Nullable |
| ---------------- | ---------------------------------- | ------------------------------------ | :------: |
| id               | The primary key (auto-incremented) | PK                                   |    No    |
| role             | The id of the group. Deprecated.   | FK [ej\_role](./ej-role.mdx)         |    No    |
| workflow\_id     | The id of the workflow.            | FK [kb\_workflow](./kb-workflow.mdx) |    No    |
| workflow\_access | The access level.                  | Int                                  |    Yes   |
| crm\_role        | Link to Role                       | FK [Role](./role.mdx)                |    Yes   |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/role_workflow.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=f4f586d938591b0bb04ecf11c2e3eee8" alt="role_workflow table relationship diagram" width="626" height="631" data-path="media/loc/en/database/tables/role_workflow.png" />

## Indexes

| Fields       | Types | Description |
| ------------ | ----- | ----------- |
| role         | FK    | Index       |
| workflow\_id | FK    | Index       |
| crm\_role    | FK    | Index       |

## Relationships

| Table                         | Description                                                                                                                                                                                        |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ej\_role](./ej-role)         | Define access rights, memberships and other properties for role user members                                                                                                                       |
| [kb\_workflow](./kb-workflow) | Knowledge base workflow steps                                                                                                                                                                      |
| [Role](./role)                | User roles for role-based security, names and tooltips are in LocaleText. For more information regarding role based security, see [http://techdoc.superoffice.com](http://techdoc.superoffice.com) |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [Role table](/en/database/tables/role.md)
- [ej_role table](/en/database/tables/ej-role.md)
- [kb_workflow table](/en/database/tables/kb-workflow.md)
- [workflow table](/en/database/tables/workflow.md)
- [workflow_goal table](/en/database/tables/workflow-goal.md)
- [workflow_instance table](/en/database/tables/workflow-instance.md)
