Skip to main content

workflows

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

Overview​

Nameworkflows
TypeResource
Idnvidia.private_registry.workflows

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
clone_statusobjectProgress of cloning artifact version files (wire: cloneStatus)
durationstringWall-clock execution duration as an ISO-8601 duration (e.g. PT1H30M5S, PT0.001S); Omitted while IN_PROGRESS.
end_timestring (date_time)UTC instant when the workflow reached a closed state; omitted while IN_PROGRESS. (wire: endTime)
messagestringHuman-readable message about the workflow status
request_statusobjectRequest status information (wire: requestStatus)
start_timestring (date_time)UTC instant when the workflow execution started. (wire: startTime)
statusstringCurrent status of the workflow (IN_PROGRESS, COMPLETED, FAILED, CANCELED, TERMINATED, CONTINUED_AS_NEW, TIMED_OUT, UNKNOWN)
workflow_typestringWorkflow type. (CLONE, CUSTOMER_MANAGED_KEY) (wire: workflowType)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_teamselectteam, workflow_idReturns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization and team.
getselectworkflow_idReturns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
teamstring (UTF-8)Team name
workflow_idstring (UTF-8)Workflow identifier

SELECT examples​

Returns the current status (pending, running, completed, or failed) of an artifact-registry Temporal workflow execution within the specified organization and team.

SELECT
clone_status,
duration,
end_time,
message,
request_status,
start_time,
status,
workflow_type
FROM nvidia.private_registry.workflows
WHERE team = '{{ team }}' -- required
AND workflow_id = '{{ workflow_id }}' -- required
;