====== IIF() ====== The IIF((Deviating spellings are **Iif**, **IIf**. This not recommended **iif** notation is also possible. Not recommended, because lower case functions describe X-Path build in functions.)) function returns one of two values depending on the value of a Boolean expression. If the //true// condition results, then //expression1// is evaluated to the result; if the //false// condition results, then //expression2// is evaluated to the result. \\ \\ Only one of the expressions //expression1// and //expression2// is ever evaluated. \\ \\ ==== Syntax: ==== IIF('Condition', 'Expression1', 'Expression2') ==== Sample: ==== IIF(@wgr>10, 1, 15) This example shows how to save a lot of work by correctly using the iif function. \\\ As you can see here you can avoid 2 rulesets together. \\\ {{images:mappingfunktionen_iif.jpg}}