ADF Set Variable Activity Retry Policy Setting Not Available from UI

Balan Murugan 41 Reputation points
2023-06-19T13:02:41.5933333+00:00

In the ADF, Set Variable activity, we do not have the option under General Section to set the Retry, Retry Interval, Secure Output and Secure Input.

But, when we make any change in the ADF pipeline, where we have the Set Variable activity, we see the below efault Policy settings are updated for all the Set Variable activities in the backend JSON file when the ADF pipeline is stored in git Repo. Though, I did not have the option to change this behavior in ADF Set Variable activity under General section.

I have around 10+ Set Variable activity in my ADF pipeline and for all the Set Variable activities the below default policy settings are shown as modified when I see it in JSON format for my pipeline.

User's image

Is this behavior for ADF pipeline Set Variable activity is expected?

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Answer accepted by question author
  1. QuantumCache 20,676 Reputation points Moderator
    2023-06-19T18:12:54.8366667+00:00

    Hello @Balan Murugan,

    That's a great observation!

    You are right, No UI options for Set-variable's Policy, only via the code view.

    As soon as we add Set-Variable to the Canvas, we can see the Code view (JSON view) to locate the 'Policy'

    The visibility of Policy Setting on the UI is controlled by the Product's by-design.

    There are two main types of activities:

    Execution and Control Activities.

    'Policy' is one of the properties in the activity JSON definition for the Activity:

    policy Policies that affect the run-time behavior of the activity. This property includes a timeout and retry behavior. If it isn't specified, default values are used.

    Activity policy

    Policies affect the run-time behavior of an activity, giving configuration options. Activity Policies are only available for execution activities.
    User's image

    Few of the Control Activities are also provided the option for updating the Policy settings, BUT it is given via the code view, i.e update the json!!!

    User's image

    Please let us know if this helps with your initial query!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.