Using Recipient.()Name as the second operand in a condition used for implementing additional restrictions on recipients will limit delivery of the notification to users selected by User ID/Login ID (the unique name that each user uses to log in to the system).
new zUserName - In the above example, zUserName is the first operand and corresponds to a character field created in the database to store the user name. Since operands can be based on both new and old values of a field (if the notification routine is defined for an updated record event), and in this example the operand is based on the new value of the field, the term “new” is prepended to the field name (see the screen capture above).
equal - In the above example, the operator equal is used to evaluate the condition. Literally, the value in the zUserName field must be equal to the Second Operand for the condition to resolve to True for a selected user.
=Recipient().Name - In the example above, the second operand of the condition uses the MetaScript object Recipient().Name. Note the use of the “=” sign before Recipient().Name. This is required. By using this MetaScript object, the value in the zUserName field on the record must be equal to the user name of a selected user for him/her to receive a notification. All other selected users are filtered out (do not receive a notification).
Note: Definitions of Operator, Operand, and other technical terms related to conditions are provided in “Parts of Conditions”.
“Using the Recipient() MetaScript Object” on page 553
“Recipient().FirstName” on page 556
“Recipient().LastName” on page 557
“Recipient().EmployeeNumber” on page 560
“Recipient().EmployeeNumber” on page 560