Class: PauseActivityExecutionRequest
workflowservice.v1.PauseActivityExecutionRequest
Represents a PauseActivityExecutionRequest.
Properties
activityId
• activityId: string
The ID of the activity to target.
identity
• identity: string
The identity of the client who initiated this request.
namespace
• namespace: string
Namespace of the workflow which scheduled this activity.
reason
• reason: string
Reason to pause the activity.
requestId
• requestId: string
Used to de-dupe pause requests.
resourceId
• resourceId: string
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.
runId
• runId: string
Run ID of the workflow or standalone activity. If empty, targets the latest run.
workflowId
• workflowId: string
If provided, pause a workflow activity (or activities) for the given workflow ID. If empty, targets a standalone activity.
Methods
toJSON
▸ toJSON(): Object
Converts this PauseActivityExecutionRequest to JSON.
Returns
Object
JSON object