Skip to main content

Interface: IResetActivityExecutionRequest

workflowservice.v1.IResetActivityExecutionRequest

Properties of a ResetActivityExecutionRequest.

Implemented by

Properties

activityId

Optional activityId: null | string

The ID of the activity to target.


identity

Optional identity: null | string

The identity of the client who initiated this request.


jitter

Optional jitter: null | IDuration

If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. (unless it is paused and keep_paused is set)


keepPaused

Optional keepPaused: null | boolean

If activity is paused, it will remain paused after reset


namespace

Optional namespace: null | string

Namespace of the workflow which scheduled this activity.


resetHeartbeat

Optional resetHeartbeat: null | boolean

Indicates that activity should reset heartbeat details. This flag will be applied only to the new instance of the activity.


resourceId

Optional resourceId: null | string

Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.


restoreOriginalOptions

Optional restoreOriginalOptions: null | boolean

If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first schedule event.


runId

Optional runId: null | string

Run ID of the workflow or standalone activity.


workflowId

Optional workflowId: null | string

If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.