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.
Properties
Section titled “Properties”cancelledAt?
Section titled “cancelledAt?”
optionalcancelledAt?: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
Section titled “endsAt”endsAt:
string
Defined in: packages/core/src/model/delegation.ts:8
fromUserId
Section titled “fromUserId”fromUserId:
string
Defined in: packages/core/src/model/delegation.ts:4
id:
string
Defined in: packages/core/src/model/delegation.ts:3
scope?
Section titled “scope?”
optionalscope?:object
Defined in: packages/core/src/model/delegation.ts:10
Empty or missing flowKeys means every flow.
flowKeys?
Section titled “flowKeys?”
optionalflowKeys?:string[]
startsAt
Section titled “startsAt”startsAt:
string
Defined in: packages/core/src/model/delegation.ts:7
Active from startsAt (inclusive) until endsAt (exclusive). ISO 8601 UTC.
tenantId?
Section titled “tenantId?”
optionaltenantId?:string
Defined in: packages/core/src/model/delegation.ts:12
When set, the rule applies only to requests of this tenant.
toUserId
Section titled “toUserId”toUserId:
string
Defined in: packages/core/src/model/delegation.ts:5