Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
?
Input
  • expression - Expression that is checked.


Return type

  • boolean - TRUE of the attribute is unknown, FALSE otherwise


Examples

Suppose the following data model.


Panel
bgColorwhite

ISNULL


This function checks Checks whether a value is unknown


Syntax

Code Block
ISNULL ( expression )



Include Page
_nav_BackToTop_nav_BackToTop
Panel
bgColorwhite

IFUNKNOWN

An alternative notation of the ISUNKOWN function, which increases readability especially for long expressions. This function replaces a value if that value is unknown.

The IFUNKNOWN function takes precendence over any other binary operator (except for the "NOT" operator).
For example, this means that the expression A.B AND C.D IFUNKNOWN FALSE will be interpreted as A.B AND (C.D IFUNKNOWN FALSE). You can use parentheses to influence this behavior, e.g. by writing (A.B AND C.D) IFUNKNOWN FALSE. 
For the "NOT" operator the following expression "X AND NOT B IFUNKNOWN FALSE", can also be read as "X AND ((NOT B) IFUNKNOWN FALSE)"

Syntax

Code Block
expression IFUNKNOWN value
  • expression- Expression of which the value has to be returned if that value is known.

  • value - Value to return if the expression value is unknown.

Return type

  • any type, equals the expression type

Examples

Suppose the following data model.

Person.namePerson.SequenceNumberPerson.HasDrivingLicense
“Bob”654true
“Jane”?true
“Mary”667false
“Rick”??
“Ron”?false
“Jenny”765true
Person.namePerson.SequenceNumber
“Bob”654
“Jane”?
Active PersonExpressionResultType
BobISNULL ( Person.SequenceNumber )FALSEBooleanboolean
JaneISNULL ( Person.SequenceNumber )TRUEBoolean
Include Page_nav_BackToTop_nav_BackToTop