Today, we are announcing the support for Integer type for pipeline variables. This feature is quite self-explanatory: you can define a pipeline variable as integer, and use all the arithmetic functions with it, without converting it back to string type anymore.
This significantly simplifies the workflow if you are using an iterator within an Until or ForEach activity. Please note that in a Set variable activity, you can't reference the variable being set in the value field, i.e., no self-referencing. To work around this limitation, set a temporary variable and then create a second Set variable activity. The second Set variable activity sets the value of the iterator to the temporary variable.
Please be aware that variables are scoped at the pipeline level. This means that they're not thread safe and may cause unexpected and undesired behavior if they're used along with parallel iteration. Particularly, please be very careful when the value is also being modified within that ForEach activity.
We hope that you found this helpful! Let us know in the comments if you have any questions or feedback!