Known Function

Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description:
Test if the expression is known.
Returns true if the expression fully evaluates to a literal value (text, number, boolean, date, time) or to a list of literal values, and returns false otherwise.
note
Note that this function is always evaluable.
Returns:
Boolean
Parameter:
Parameter
Data Type
Description
1
Any
The expression.
Examples:
Expression
Result
Known( Var )
where Var has a value
true
Known( Var )
where Var does not have a value
false
Known( VarA + VarB )
where VarA has a value but VarB does not have a value
false
This function is most often used as a Business Rule on a span:
[
Not Known(PublicationDate)
Publication Date not know at this time.][
Known(PublicationDate)
The publication date shall be by {PublicationDate}.]
note
Note that Multi-Select variables are considered answered even if no choices have been selected. To check if a Multi-Select variable has been answered, use the expression:
Count(MultiSelectVariable) isatleast 1

Related Content