Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

List of the custom variables to use in a scripting environment. Variables are used to define and easy to update static values to use in rule validations, formulas etc.

Defined variables can be accessed with $ sign prefix.

Example variable usage in script
var isValid = $Xml.Sum('ExpenseList/Expense/Amount') > $ExpenseLimit;


Variable values can be overriden by tasks to update value in only task scope. Example: $AllowPriceChange can set to false in pool definition and can be set to true for administrative type tasks to disable on rule validation.

Variables also can be used in XPath expressions with same syntax.

Variable usage in xpath expression
var invalidExpenses = $Xml.SelectAll('ExpenseList/Expense[Amount > $ExpenseLimit]');




  • No labels