/
ifUnavailable
ifUnavailable
Function: ifUnavailable(test, default)
Returns defaultĀ if the passed value is Unavailable. Otherwise returns the test value.
Values can only be Unavailable in an action flow. A value will be Unavailable if the attribute is not mapped, or the attribute has not been provided, or the user does not have permission for that attribute on a grid or form.Ā
Syntax
ifUnavailable(test, default)
Argument | Type | Description |
---|---|---|
test | Any | The value to be checked |
default | Any | The default value to return if test is Unavailable |
Examples
ifUnavailable(in.Name, "Name is Unavailable")
Returns the stringĀ Name is Unavailable if in.Name has not been mapped
ifUnavailable(_NULL, "Testing")
Returns NULL
ifUnavailable("I have a name", "Name is Unavailable")
Returns stringĀ I have a name
Related content
ifUnavailable
ifUnavailable
More like this
isUnavailable
isUnavailable
More like this
isUnavailable
isUnavailable
More like this
isEmpty
isEmpty
More like this