Skip to main content

Interface: IScheduleActivity

Properties of a ScheduleActivity.

Extends​

Properties​

activityId?​

optional activityId?: string | null

ScheduleActivity activityId

Inherited from​

$Properties.activityId


activityType?​

optional activityType?: string | null

ScheduleActivity activityType

Inherited from​

$Properties.activityType


arguments?​

optional arguments?: $Properties[] | null

Arguments/input to the activity. Called "input" upstream.

Inherited from​

$Properties.arguments


cancellationType?​

optional cancellationType?: ActivityCancellationType | null

Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed

Inherited from​

$Properties.cancellationType


doNotEagerlyExecute?​

optional doNotEagerlyExecute?: boolean | null

If set, the worker will not tell the service that it can immediately start executing this activity. When unset/default, workers will always attempt to do so if activity execution slots are available.

Inherited from​

$Properties.doNotEagerlyExecute


headers?​

optional headers?: {[k: string]: $Properties; } | null

ScheduleActivity headers

Inherited from​

$Properties.headers


heartbeatTimeout?​

optional heartbeatTimeout?: $Properties | null

Maximum time allowed between successful worker heartbeats.

Inherited from​

$Properties.heartbeatTimeout


priority?​

optional priority?: $Properties | null

The Priority to use for this activity

Inherited from​

$Properties.priority


retryPolicy?​

optional retryPolicy?: $Properties | null

Activities are provided by a default retry policy controlled through the service dynamic configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set retry_policy.maximum_attempts to 1.

Inherited from​

$Properties.retryPolicy


scheduleToCloseTimeout?​

optional scheduleToCloseTimeout?: $Properties | null

Indicates how long the caller is willing to wait for an activity completion. Limits how long retries will be attempted. Either this or start_to_close_timeout_seconds must be specified. When not specified defaults to the workflow execution timeout.

Inherited from​

$Properties.scheduleToCloseTimeout


scheduleToStartTimeout?​

optional scheduleToStartTimeout?: $Properties | null

Limits time an activity task can stay in a task queue before a worker picks it up. This timeout is always non retryable as all a retry would achieve is to put it back into the same queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified.

Inherited from​

$Properties.scheduleToStartTimeout


seq?​

optional seq?: number | null

Lang's incremental sequence number, used as the operation identifier

Inherited from​

$Properties.seq


startToCloseTimeout?​

optional startToCloseTimeout?: $Properties | null

Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is always retryable. Either this or schedule_to_close_timeout must be specified.

Inherited from​

$Properties.startToCloseTimeout


taskQueue?​

optional taskQueue?: string | null

The name of the task queue to place this activity request in

Inherited from​

$Properties.taskQueue


versioningIntent?​

optional versioningIntent?: VersioningIntent | null

Whether this activity should run on a worker with a compatible build id or not.

Inherited from​

$Properties.versioningIntent