Appian Expression Rule Evaluator
Write and run Appian SAIL expression rules right in your browser. Practice a!localVariables, a!forEach, built-in functions, and rule inputs — no Appian account required.
a!localVariables()a!forEach()ri! inputsString functionsList operationsMath & Logic1-based indexingElement-wise ops
Expression Rule
Ctrl+Enter to run
Rule Inputs (ri!)
No rule inputs. Click "+ Add ri!" to add ri!variableName inputs.
Examples
Variables
- local!name
- Local variable (defined in a!localVariables)
- ri!name
- Rule input (define values in the ri! panel)
- _
- Current item in a!forEach loop
Key Functions
- a!localVariables(local!x: 5, body)
- Bind local variables
- a!forEach(items: list, expression: _)
- Iterate over list
- if(cond, then, else)
- Conditional
- where({true,false,true})
- → {1, 3} (1-based indices)
- index({10,20,30}, 2)
- → 20 (1-based)
- count({1,2,3})
- → 3
Operators
- + - * / ^
- Arithmetic
- &
- String concatenation
- = <> < <= > >=
- Comparison
- {1, 2, 3}
- List literal
- {1,2,3} * 10
- Element-wise (→ {10,20,30})
- 1-based
- All list indexing is 1-based
Ready for More Practice?
500+ Appian interview questions, ACD101/ACD201/ACD301 mock exams, and flashcards — all free.