How to write email notification through script and attached to particular notification record?

kinjal1
Kilo Expert

Hi, 

How do I send notification to the user whom I can't access from ' who will receive' in Notification?

If it is through email notification script then which function I use to send email ?

And also how do I attached that script to the particular notification?

 

Thanks,

Kinjal

1 ACCEPTED SOLUTION

The first parameter sent in event is named as param1 and second is named as param2, it's not mandatory to send the param2 always.

If you are sending the recipient in param1 check the param 1 checkbox in notification and if sending recipient in param2 check param 2 checkbox.

Also, It's not going to affect other recipient added on user/group field in notification, it will just add.

View solution in original post

6 REPLIES 6

If you don't mind, please mark the answer as correct, If I have answered your query. Other people with the same query could find this topic easily and also to make this thread as resolved / answered.

Hi,

Following steps I follows to notify user. I am not sure if still more or less required/

Please guide me in this.

 

1. created event

2. Wrote business rule (condition ?)

3. use this event in Notification under' whenToSend' 

 

  

 

Notification :