DemandFlow Support Centre

DROLE: Document Role

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A document management role defining review/approval permissions, SLA deadlines, and escalation paths.

DROLE: Document Role

A document management role defining review/approval permissions, SLA deadlines, and escalation paths.

Default definition. This article describes the default DROLE definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches DROLE.

Entity properties

PropertyValue
Entity codeDROLE
Display nameDocument Role
PluralDocument Roles
Level12020

Use cases

DROLE defines the roles that participate in the document review and approval workflow. The type field (None, Reviewer, Approver, Both) determines what workflow actions users assigned to this role can perform. SLA tracking (slaDays) with escalation (escalationRole, a self-referencing DROLE lookup) supports automated deadline management - if a reviewer does not act within the SLA, the system can escalate to the fallback role. The canComment and canApprove checkboxes provide granular permission control beyond the type classification. The active flag allows roles to be deactivated without deletion, preserving historical audit trails. DROLE works with DASSIGNEE to create the mapping of users to roles for specific document types/categories, forming the basis of the DMS workflow participant selection.

Fields

Role Details

FieldTypeRequiredNotes
nametextYesRole Name.
descriptiontext (multi-line)Explain the purpose of this document role
typeenumYesValid ids: none (None), reviewer (Reviewer), approver (Approver), both (Reviewer + Approver).

Workflow Settings

FieldTypeRequiredNotes
slaDaysnumberTarget time for review/approval before escalation
escalationRolereference → DROLEFallback role if this reviewer doesn't act in time
canCommentbooleanCan Comment.
canApprovebooleanCan Approve.
activeenumYesValid ids: 0 (No), 1 (Yes).

Relationships

  • Lookup: escalationRole (reference → DROLE).

Creating a Document Role via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "DROLE",
  "level":    12020,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name": "Example name",
  "type": "none",
  "active": "0",
  "description": "Example value"
}

Listing Document Roles records

GET /v1/entities/DROLE/SUB:<your-sub-id>

See also

droledocumentrolerolesdocumentrolesmanagementdefiningreviewapprovalpermissionsdeadlines

Was this article helpful?

← Back to Knowledge Base