Interface: ActivityOptions<In>
Options of ctx.activity (user activities). The task queue is
the option, else the declaration's, else the workflow's own queue.
Type Parameters
In
In
Properties
args
args:
In
cancellationType?
optionalcancellationType?:"WAIT_CANCELLATION_COMPLETED"|"TRY_CANCEL"|"ABANDON"
connections?
optionalconnections?:string[]
Connections the worker may resolve for this activity (at most 16, H2).
fairnessKey?
optionalfairnessKey?:string
fairnessWeight?
optionalfairnessWeight?:number
headers?
optionalheaders?:Headers
heartbeatTimeout?
optionalheartbeatTimeout?:Duration
priority?
optionalpriority?:number
1 (highest) to 5; default 3.
retry?
optionalretry?:Partial<RetryPolicy>
Default: 1 s, x2, at most 100 s, unlimited attempts (Temporal's policy).
scheduleToCloseTimeout?
optionalscheduleToCloseTimeout?:Duration
scheduleToStartTimeout?
optionalscheduleToStartTimeout?:Duration
startToCloseTimeout?
optionalstartToCloseTimeout?:Duration
summary?
optionalsummary?:string
Label in the History tab (at most 200 characters).
taskQueue?
optionaltaskQueue?:string