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. |
|---|---|
Policies affect the run-time behavior of an activity, giving configuration options. Activity Policies are only available for execution activities.
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!!!
Please let us know if this helps with your initial query!