Functions (all)

Witness

Function Name:
Witness
Description:
Returns a witness for a given fact, identified by role.
Minimum FH Version:
7.0
No. of Parameters:
3
Return Type:
An Individual record
Parameter 1:
A data reference to a fact (event or attribute).
Parameter 2:
Text.  The role
Parameter 3:
A number (optional).  Specifies the required instance.  If not specified, the first instance is returned.
Examples:

=Witness(%FACT%, "Bridesmaid")
=Witness(%FACT%, "Bridesmaid", 2)