Skip to content

IIF Function

NileshGhodekar edited this page Mar 26, 2018 · 9 revisions

Syntax

object IIF(condition:bool, trueReturn:object, falseReturn:object)

Description

Returns the second or third parameter based on the evaluation of the condition specified as first parameter.

Remarks

If the first input parameter (condition) is null, it is treated as false.

Supported Version

1.0.0.0 and later

Examples

IIF(Eq([//Target/EmployeeType],"Contractor"),"OU=Vendors",[//WorkflowData/OrgOU])

IIF(Not(Eq(1,2)),true,false)

Clone this wiki locally