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 4 Next »

List of custom variables to use in 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: $ExpenseLimit

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. For example ExpenseList/Expense[Amount > $ExpenseLimit] xpath is valid if $ExpenseLimit is defined as a variable.



  • No labels