Setting Job Properties Through Scripts

Attributes defined for an object affect how the object is processed. Script statements allow you to dynamically change those object attributes and assign new values when the task is generated. The new values are only valid for the current generation and are not permanently stored in the object.

You can define the values of any of the settings of all Azure Data Factory Jobs using scripts. You do this by using :PUT_ATT commands on the Pre-Process object definition page.

For more information, see the Automic Automation product documentation:

The attributes available for Azure Data Factory Run Pipeline Jobs are the following:

  • connection

    Defines the value of the Azure Data Factory Connection object

    Value: text

  • subscriptionId

    Defines the ID of the Azure subscription in which your resource group is located.

    Value: text

  • resourceGroupName

    Defines the resource group that holds the relevant data factory.

    Value: text

  • dataFactoryName

    Defines the data factory in which the pipeline is located.

    Value: text

  • pipelineName

    Defines the name of the relevant pipeline

    Value: text

  • pipelineParameters

    Defines the attributes that you want to pass to the application.

    Value: pipelineParametersJson, pipelineParametersJsonPath

    • pipelineParametersJson

      Enter the JSON payload definition. You can also use this field if you want to include this Job in a Workflow and you want to use Automation Engine variables in it.

    • pipelineParametersJsonPath

      Defines the path to the JSON file containing the attributes that you want to pass to the application.

  • retryDelay

    Defines the interval (in seconds) between the API interaction and Automic's processing during job monitoring.

See also: