Skip to main content

Interface: FullActivityId

client.FullActivityId

A mostly unique Activity identifier. If workflowId is set, it refers to a Workflow Activity. If workflowId is unset, it refers to a Standalone Activity. In both cases, it can optionally contain runId.

Activity IDs may be reused in a single Workflow run as long as a previous Activity with the same ID has completed already. Standalone Activity IDs may be reused if idReusePolicy is set in Activity options when starting a new Activity, but a combination of Activity ID and Activity run ID is unique.

Properties

activityId

activityId: string

ID of the Activity.


runId

Optional runId: string

If workflowId is set, this optionally specifies the Workflow run ID in order to differentiate between Workflow runs with the same Workflow ID. If workflowId is unset, this optionally specifies the Activity run ID in order to differentiate between Standalone Activity runs with the same Activity ID.

If runId is unset, then the FullActivityId object refers to the latest run of the Workflow or the Standalone Activity with the specified ID.


workflowId

Optional workflowId: string

ID of the Workflow that started the Activity. Unset for Standalone Activities.