Skip to content

DelegationRule

Defined in: packages/core/src/model/delegation.ts:2

An out-of-office rule: tasks for fromUserId go to toUserId while it is active.

optional cancelledAt?: string

Defined in: packages/core/src/model/delegation.ts:14

Set when the rule was ended before it started; a cancelled rule never applies.


endsAt: string

Defined in: packages/core/src/model/delegation.ts:8


fromUserId: string

Defined in: packages/core/src/model/delegation.ts:4


id: string

Defined in: packages/core/src/model/delegation.ts:3


optional scope?: object

Defined in: packages/core/src/model/delegation.ts:10

Empty or missing flowKeys means every flow.

optional flowKeys?: string[]


startsAt: string

Defined in: packages/core/src/model/delegation.ts:7

Active from startsAt (inclusive) until endsAt (exclusive). ISO 8601 UTC.


optional tenantId?: string

Defined in: packages/core/src/model/delegation.ts:12

When set, the rule applies only to requests of this tenant.


toUserId: string

Defined in: packages/core/src/model/delegation.ts:5