Skip to content

known

Description

Set a condition that evaluates to 'true' if a certain property is not unknown.

Example

p is Person
p.tax_domicile is known

You can have a field on a document for a person's Tax Identification Number (tin). You only want to ask for it, if the country where a person pays taxes is known.

This condition, when attached to the field 'tin', guarantees the tin will only be asked if the tax country is known.

is known asks for the information

Unlike is unknown, is known makes the information it checks necessary, so p.tax_domicile above is asked for in the case manager. Wrap it in SNEAKY if you want to check for presence without asking.