Magidoc

ApprovalTemplate
Object

Reusable approval workflow template that can be applied to actions. Templates define rounds, stages, and approvers that can be consistently applied across multiple actions.

Fields

#

_id

ID !
Non-null

Unique identifier for the template.

workspace

ID !
Non-null

ID of the workspace this template belongs to.

name

Non-null

Display name for this template.

rounds

Non-null

List of approval rounds configured in this template.

deleted

Non-null

Whether this template has been soft-deleted.

createdAt

Non-null

Timestamp when this template was created.

modifiedAt

Non-null

Timestamp when this template was last modified.

createdBy

ID !
Non-null

User ID who created this template.

modifiedBy

ID !
Non-null

User ID who last modified this template.

Usages

#

References

#