eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:allgemein:iif

Table of Contents

IIF()

The IIF1) 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. \

mappingfunktionen_iif.jpg

1)
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.
en/transformation/mappings/funktionen/allgemein/iif.txt · Last modified: 2024/02/20 08:15 by 127.0.0.1