Interface: ActivityOptionsUpdate
Experimental
Specifies activity options to change in ActivityHandle.updateOptions operation.
If a field is assigned non-null value, the option will be set to that value. If a field is explicitly assigned null, the option will be cleared. If a field is undefined, the option will be left unchanged.
Activity Operator Commands are experimental. APIs may be subject to change.
Properties
heartbeatTimeout?
optionalheartbeatTimeout?:Duration|null
Experimental
If set, specifies maximum time between successful heartbeats.
priority?
optionalpriority?:Priority|null
Experimental
Priority to use when starting this activity.
retry?
optionalretry?:RetryPolicy|null
Experimental
Controls how Activity is retried. If not set, the server will assign default retry policy.
scheduleToCloseTimeout?
optionalscheduleToCloseTimeout?:Duration|null
Experimental
If set, specifies maximum time for a single execution attempt. This timeout is retryable.
Note: it is required to set at least one of startToCloseTimeout and scheduleToCloseTimeout.
scheduleToStartTimeout?
optionalscheduleToStartTimeout?:Duration|null
Experimental
If set, specifies maximum time the activity can wait in the task queue before being picked up by a worker. This timeout is non-retryable.
startDelay?
optionalstartDelay?:Duration|null
Experimental
Time to wait before dispatching the first activity task. This delay is not applied to retry attempts.
startToCloseTimeout?
optionalstartToCloseTimeout?:Duration|null
Experimental
Is set, specifies total time the activity is allowed to run, including retries.
Note: it is required to set at least one of startToCloseTimeout and scheduleToCloseTimeout.
taskQueue?
optionaltaskQueue?:string
Experimental
Task queue to run this activity on.