List of the custom variables which will be used in a scripting environment. Variables are used to define and easily update static values for the rule validations, formulas etc.
Defined variables can be accessed with the $ sign prefix.
Code Block | ||
---|---|---|
| ||
var isValid = $Xml.Sum('ExpenseList/Expense/Amount') > $ExpenseLimit; |
Variable values can be overriden overridden by taskstasks to update the value only in a task scope. Example: $AllowPriceChange can be set to false in pool definition and can be set to true for administrative type tasks to disable the rule validation.
...