use property defines the workflow’s reusable components, including authentication policies, catalogs, errors, extensions, functions, retry policies, secrets, and timeouts. These components can be referenced throughout the workflow, promoting reusability and maintainability.
Properties
A name/value mapping of the workflow’s reusable authentication policies.See Authentication for details on supported authentication types.
A name/value mapping of the workflow’s reusable resource catalogs.Catalogs allow workflows to integrate with externally defined resources.
A name/value mapping of the workflow’s reusable errors.Define common error definitions that can be referenced throughout the workflow.
A list of the workflow’s reusable extensions.Extensions enable execution of tasks before or after other tasks.
A name/value mapping of the workflow’s reusable tasks.Define functions that can be called multiple times throughout the workflow.
A name/value mapping of the workflow’s reusable retry policies.Define retry strategies that can be applied to different tasks.
A list containing the workflow’s secrets.Reference secrets that the workflow requires for execution.
A name/value mapping of the workflow’s reusable timeouts.Define timeout configurations that can be referenced by tasks.
Authentication
Defines authentication mechanisms for accessing services and resources.Basic Authentication
The username to use.
The password to use.
Bearer Authentication
The bearer token to use.
OAuth2 Authentication
The URI that references the authority to use when making OAuth2 calls.
The grant type to use.Supported values:
authorization_code, client_credentials, password, refresh_token, urn:ietf:params:oauth:grant-type:token-exchangeThe client id to use.Required if
client.authentication has not been set to none.The client secret to use, if any.
The scopes, if any, to request the token for.
The audiences, if any, to request the token for.
OpenID Connect Authentication
The URI that references the authority to use when making OpenIdConnect calls.
The grant type to use.Supported values:
authorization_code, client_credentials, password, refresh_token, urn:ietf:params:oauth:grant-type:token-exchangeThe client id to use.
The client secret to use, if any.
Catalog
A resource catalog is an external collection of reusable components that can be referenced and imported into workflows.The endpoint that defines the root URL at which the catalog is located.
Extension
Extensions enable the execution of tasks prior to those they extend, offering the flexibility to potentially bypass the extended task entirely.The type of task to extend.Supported values:
call, composite, emit, extension, for, listen, raise, run, set, switch, try, wait, allA runtime expression used to determine whether or not the extension should apply in the specified context.
The list of tasks to execute, if any, before the extended task.
The list of tasks to execute, if any, after the extended task.