View this page in the latest version of Appian. a!localVariables() Function Share Share via LinkedIn Reddit Email Copy Link Print On This Page How to Use Local Variables This video provides an overview of when and how to use local variables in your Appian interfaces and expressions. Function a!localVariables( localVar1, localVarN, expression ) Lets you define one or more local variables for use within an expression. When used within an interface, the value of each variable can be refreshed under a variety of conditions, configured using a!refreshVariable(). When used outside of an interface, all refresh properties configured using a!refreshVariable() are ignored. Parameters Keyword Type Description localVar1 Any Type localVarN Any Type Any additional local variables, as needed. expression Any Type The expression to evaluate using the local variables values. Returns Any Type Usage considerations For more information about how to use a!localVariables and a!refreshVariable, including detailed examples, see the Local Variables page. This function replaces both the load and with functions. For information on how to update existing expressions that use load and with to use a!localVariables instead, see the Updating Expressions to Use a!localVariables. Feedback Was this page helpful? SHARE FEEDBACK Loading...