Reference > Expressions > Built-in Functions > System Functions > nvl

nvl

First determines if the value of the first parameter is null. If it is, it returns the value of the second parameter.

Syntax

nvl(expr1, expr2)

Enabled for

Search/Dashboard No
Business Rules Yes
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameters

expr1

The first expression.

expr2

The second expression.

Return Value

Text value:

Example

The following example tests the Owner field to see if it is empty, and returns the appropriate message:

$(if(

(nvl("Owner", "") !=""),

"Owner is not null or empty",

"Owner is null or empty"

))