Skip to main content

workflow_definitions

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

Overview​

Nameworkflow_definitions
TypeResource
Idaws.nova_act.workflow_definitions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the workflow definition. (pattern: <code>[a-zA-Z0-9_-]{1,40}</code>)
arnstringThe Amazon Resource Name (ARN) of the workflow definition. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):nova-act:[a-z0-9-]+:[0-9]{12}:workflow-definition/[a-zA-Z0-9_-]{1,40}</code>)
created_atstring (date-time)The timestamp when the workflow definition was created.
descriptionstringThe description of the workflow definition.
export_configobjectConfiguration settings for exporting workflow execution data and logs to Amazon Simple Storage Service (Amazon S3).
statusstringThe current status of the workflow definition. (ACTIVE, DELETING)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_workflow_definitionselectworkflow_definition_name, regionRetrieves the details and configuration of a specific workflow definition.
list_workflow_definitionsselectregionmaxResults, nextTokenLists all workflow definitions in your account with optional filtering and pagination.
create_workflow_definitioninsertregion, nameCreates a new workflow definition template that can be used to execute multiple workflow runs.
delete_workflow_definitiondeleteworkflow_definition_name, regionDeletes a workflow definition and all associated resources. This operation cannot be undone.

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
regionstringAWS region (default: us-east-1)
workflow_definition_namestringThe name of the workflow definition to delete.
maxResultsintegerThe maximum number of workflow definitions to return in a single response.
nextTokenstringThe token for retrieving the next page of results.

SELECT examples​

Retrieves the details and configuration of a specific workflow definition.

SELECT
name,
arn,
created_at,
description,
export_config,
status
FROM aws.nova_act.workflow_definitions
WHERE workflow_definition_name = '{{ workflow_definition_name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples​

Creates a new workflow definition template that can be used to execute multiple workflow runs.

INSERT INTO aws.nova_act.workflow_definitions (
name,
description,
exportConfig,
clientToken,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ exportConfig }}',
'{{ clientToken }}',
'{{ region }}'
RETURNING
status
;

DELETE examples​

Deletes a workflow definition and all associated resources. This operation cannot be undone.

DELETE FROM aws.nova_act.workflow_definitions
WHERE workflow_definition_name = '{{ workflow_definition_name }}' --required
AND region = '{{ region }}' --required
;