The Recipient().EmployeeNumber MetaScript object can be used only if the database family includes Job Manager. If used as the second operand in a condition, recipients will be selected by employee number (the unique number assigned to users in systems that include Job Manager).
new zEmployeeNumChar - In the above example, zEmployeeNumChar is the first operand and corresponds to a character field created in the database to store the unique employee number assigned to each user defined in the system. 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 first operand is based on the new value of the field, the term “new” is prepended to the field name (see screen capture above).
equal - In the above example, the operator equal is used to evaluate the condition. Literally, the value in the zEmployeeNumChar field must be equal to the second operand if the condition is to resolve to True for a selected user. (Only users for whom the condition resolves to True receive a notification.)
=Recipient().EmployeeNumber - In the example above, the second operand of the condition uses the MetaScript object Recipient().EmployeeNumber. Note the use of the “=” sign before Recipient().EmployeeNumber. This is required. By using this MetaScript object, the value in the zEmployeeNumChar 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 are provided in “Parts of Conditions”.
“Using the Recipient() MetaScript Object” on page 553
“Recipient().Name” on page 555
“Recipient().FirstName” on page 556
“Recipient().LastName” on page 557