Refining the Recipient
When defining the recipients for this message, it can be a good idea to use a global constant value, rather than a hard-coded user ID. This allows you to use the same global constant value in other places in your application. Then, if the name of the credit manager changes, for instance, it is possible to change the recipients by simply changing the global constant value. It also allows you to add multiple recipients, for instance, if you have co-credit managers or you have a trainee you want to also receive the messages.
To redefine the recipients as a global constant:
-
Create the global constant:
-
Incorporate the global constant in the event handler action:
Test by creating a new customer record and verifying that
all designated recipients receive the notification message. You can also check the
Saved Messages form for the user ID from which you were signed
in when the message was sent.