Creating recipient generators

Recipient generators determine which users are notified about various events.

Recipient generators can generate lists where the recipients are fixed and invariable, or lists where recipients vary. The recipient generators provided with the product determine recipients that are based on user roles. For information about user roles, see Roles and permissions.
  1. On the left navigational panel, click System > Recipient Generators in the Notifications area.
  2. Click Create Recipient Generator.
  3. Using the New Recipient Generator page, select the type from the Type list, and click Set.
    Fixed types expect you to directly enter recipient information, such as email and IM addresses. Group-Based types use security groups to generate recipients. Scripted types use JavaScript scripts to generate recipients.
    Note: To give users the ability to unsubscribe from notification subscriptions, use group-based or scripted types. If a process has a fixed type, users cannot unsubscribe from notification subscriptions.
  4. Type a name for the generator in the Name field, and click Save.
  5. Define the generator by completing these actions:
    • If you selected the Fixed type, enter the user's email address in the Email field, or XMPP ID in the XMPP field, then click Add.
    • If you selected the Group-Based type, select the groups that you want notified from Groups area.
    • If you selected the Scripted type, enter the script in the Script box. The script can be any JavaScript script that resolves to a user or group. This example script selects all users: users.getAllUsers().
  6. Click Done.
Add the recipient generator to notification schemes, see Creating notification schemes.