Skip to main content

callbacks

Creates, updates, deletes, gets or lists a callbacks resource.

Overview

Namecallbacks
TypeResource
Idgoogle.workflowexecutions.callbacks

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the callback. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback}
availablePayloadsarrayOutput only. The payloads received by the callback that have not been processed by a waiting execution step.
methodstringOutput only. The method accepted by the callback. For example: GET, POST, PUT.
waitersstringOutput only. Number of execution steps waiting on this callback.

Methods

NameAccessible byRequired ParamsDescription
listSELECTexecutionsId, locationsId, projectsId, workflowsIdReturns a list of active callbacks that belong to the execution with the given name. The returned callbacks are ordered by callback ID.

SELECT examples

Returns a list of active callbacks that belong to the execution with the given name. The returned callbacks are ordered by callback ID.

SELECT
name,
availablePayloads,
method,
waiters
FROM google.workflowexecutions.callbacks
WHERE executionsId = '{{ executionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND workflowsId = '{{ workflowsId }}';