Skip to main content

Azure Data Factory - Trigger Job

info

This Blueprint is classified as "Free" and does not incur billable runtime. Learn more.

Overview​

To get started using this Blueprint, you need the following in inputs:

  • Resource Group Name
  • Data Factory Name
  • Pipeline Name.

Which can easily found by clicking on Switch Data Factory Icon on the top right pane of your Azure Data Factory portal

Additionally, you can configure the Blueprint to wait for the pipeline to finish running. Setting "Wait for Completion" to True ensures the Blueprint waits until the pipeline run completes, logging any potential errors and confirming the entire process is finished. Setting it to False marks the Blueprint as successful immediately after the pipeline is triggered, without waiting for completion.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Client IDAZURE_DATAFACTORY_CLIENT_IDAlphanumericβœ…--None
Client SecretAZURE_DATAFACTORY_CLIENT_SECRETPasswordβœ…--None
Tenant IDAZURE_DATAFACTORY_TENANT_IDAlphanumericβœ…--None
Subscription IDAZURE_DATAFACTORY_SUBSCRIPTION_IDAlphanumericβœ…--None
Resource Group NameAZURE_DATAFACTORY_RESOURCE_GROUPAlphanumericβœ…--Can be found by clicking on Switch Data Factory Icon on the top right of your Azure Data Factory portal
Data Factory NameAZURE_DATAFACTORY_FACTORY_NAMEAlphanumericβœ…--Can be found by clicking on Switch Data Factory Icon on the top right of your Azure Data Factory portal
Pipeline NameAZURE_DATAFACTORY_PIPELINEAlphanumericβœ…--Can be found by clicking on Switch Data Factory Icon on the top right of your Azure Data Factory portal
Wait For CompletionAZURE_DATAFACTORY_WAITBooleanβœ…TRUE-Whether the Blueprint should wait for the Azure Data Factory pipeline run to finish before proceeding

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

source:
blueprint: Azure Data Factory - Trigger Job
inputs:
AZURE_DATAFACTORY_CLIENT_ID: null ## REQUIRED
AZURE_DATAFACTORY_CLIENT_SECRET: null ## REQUIRED
AZURE_DATAFACTORY_TENANT_ID: null ## REQUIRED
AZURE_DATAFACTORY_SUBSCRIPTION_ID: null ## REQUIRED
AZURE_DATAFACTORY_RESOURCE_GROUP: null ## REQUIRED
AZURE_DATAFACTORY_FACTORY_NAME: null ## REQUIRED
AZURE_DATAFACTORY_PIPELINE: null ## REQUIRED
AZURE_DATAFACTORY_WAIT: 'TRUE' ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '200'