:REMOVE_ATT
Use the :REMOVE_ATT script statement in the Process page of Notifications to remove recipients at runtime. It removes the specified users, user groups, or email addresses from the list of responsible recipients. The specified recipients are not permanently deleted — this script statement does not change the Notification object itself. The modification only applies to a particular execution. For more information, see Notification (CALL).
Important Considerations
-
Ensure you do not remove all responsible recipients when using wildcard characters. Otherwise, script processing aborts and an error message is generated.
-
Define users in the format User name/Department. The definition must comply with the name of the User object. The script aborts if the user cannot be found.
-
Use the report to verify which recipients you have removed with this script statement.
Syntax
: REMOVE_ATT OPERATOR, Name
Parameters
| Parameter | Description | Format | Allowed Values |
|---|---|---|---|
| OPERATOR | Name of the attribute to remove. | AE name, script literal, or script variable | RECIPIENT |
| Name | Name of a user, user group, or email address. In User and User Group objects, you can use the * and ? wildcard characters, where * refers to any number of characters and ? refers to exactly one character. | Script literal, script variable, or number | n.a. |
Examples
The following example removes the user "BU/AE" from the list of responsible recipients.
: REMOVE_ATT RECIPIENT, "BU/AE"
The following example removes all users of the department "AE".
: REMOVE_ATT RECIPIENT, "*/AE"
The following example removes the user group "ADMIN".
: REMOVE_ATT RECIPIENT, "ADMIN"
See also:
seealso