Skip to content

Commit 6a5bc48

Browse files
authored
Merge pull request #105513 from msmimart/mm-102946
[App Prov] Add IIF function
2 parents 3093e9f + a5f8717 commit 6a5bc48

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

articles/active-directory/app-provisioning/functions-for-customizing-application-data.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The syntax for Expressions for Attribute Mappings is reminiscent of Visual Basic
3434
* For string constants, if you need a backslash ( \ ) or quotation mark ( " ) in the string, it must be escaped with the backslash ( \ ) symbol. For example: "Company name: \\"Contoso\\""
3535

3636
## List of Functions
37-
[Append](#append)      [BitAnd](#bitand)      [CBool](#cbool)      [Coalesce](#coalesce)      [ConvertToBase64](#converttobase64)      [ConvertToUTF8Hex](#converttoutf8hex)      [Count](#count)      [CStr](#cstr)      [DateFromNum](#datefromnum)  [FormatDateTime](#formatdatetime)      [Guid](#guid)      [InStr](#instr)      [IsNull](#isnull)      [IsNullOrEmpty](#isnullorempty)      [IsPresent](#ispresent)      [IsString](#isstring)      [Item](#item)      [Join](#join)      [Left](#left)      [Mid](#mid)         [NormalizeDiacritics](#normalizediacritics) [Not](#not)      [NumFromDate](#numfromdate)     [RemoveDuplicates](#removeduplicates)      [Replace](#replace)      [SelectUniqueValue](#selectuniquevalue)     [SingleAppRoleAssignment](#singleapproleassignment)     [Split](#split)    [StripSpaces](#stripspaces)      [Switch](#switch)     [ToLower](#tolower)     [ToUpper](#toupper)     [Word](#word)
37+
[Append](#append)      [BitAnd](#bitand)      [CBool](#cbool)      [Coalesce](#coalesce)      [ConvertToBase64](#converttobase64)      [ConvertToUTF8Hex](#converttoutf8hex)      [Count](#count)      [CStr](#cstr)      [DateFromNum](#datefromnum)  [FormatDateTime](#formatdatetime)      [Guid](#guid)      [IIF](#iif)     [InStr](#instr)      [IsNull](#isnull)      [IsNullOrEmpty](#isnullorempty)      [IsPresent](#ispresent)      [IsString](#isstring)      [Item](#item)      [Join](#join)      [Left](#left)      [Mid](#mid)         [NormalizeDiacritics](#normalizediacritics) [Not](#not)      [RemoveDuplicates](#removeduplicates)      [Replace](#replace)      [SelectUniqueValue](#selectuniquevalue)     [SingleAppRoleAssignment](#singleapproleassignment)     [Split](#split)    [StripSpaces](#stripspaces)      [Switch](#switch)     [ToLower](#tolower)     [ToUpper](#toupper)     [Word](#word)
3838

3939
---
4040
### Append
@@ -219,6 +219,25 @@ Guid()
219219
**Description:**<br>
220220
The function Guid generates a new random GUID
221221

222+
---
223+
### IIF
224+
**Function:**<br>
225+
IIF(condition,valueIfTrue,valueIfFalse)
226+
227+
**Description:**<br>
228+
The IIF function returns one of a set of possible values based on a specified condition.
229+
230+
**Parameters:**<br>
231+
232+
| Name | Required/ Repeating | Type | Notes |
233+
| --- | --- | --- | --- |
234+
| **condition** |Required |Variable or Expression |Any value or expression that can be evaluated to true or false. |
235+
| **valueIfTrue** |Required |Variable or String | If the condition evaluates to true, the returned value. |
236+
| **valueIfFalse** |Required |Variable or String |If the condition evaluates to false, the returned value.|
237+
238+
**Example:**<br>
239+
IIF([country]="USA",[country],[department])
240+
222241
---
223242
### InStr
224243
**Function:**<br>

0 commit comments

Comments
 (0)