Skip to main content

Interface: $Properties

Properties of a RespondActivityTaskFailedByIdRequest.

Extended by​

Properties​

activityId?​

optional activityId?: string | null

Id of the activity to fail


cause?​

optional cause?: ActivityTaskFailedCause | null

Why did the activity task fail? Optional; when unset the failure is treated as a normal activity failure. See the type's doc for more.


failure?​

optional failure?: $Properties | null

Detailed failure information


identity?​

optional identity?: string | null

The identity of the worker/client


lastHeartbeatDetails?​

optional lastHeartbeatDetails?: $Properties | null

Additional details to be stored as last activity heartbeat


namespace?​

optional namespace?: string | null

Namespace of the workflow which scheduled this activity


resourceId?​

optional resourceId?: string | null

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


runId?​

optional runId?: string | null

For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.


workflowId?​

optional workflowId?: string | null

Id of the workflow which scheduled this activity, leave empty to target a standalone activity