Adding Email Recipients only BCC

Akhila P
Tera Contributor

Hello Everyone,

 

Can anyone tell me how to set the recipients only to BCC when a notification is fired through an event?

12 REPLIES 12

@Akhila P 

how are you setting the TO i.e. recipient?

how are you triggering the email?

You can only set the BCC via email script and not the TO

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,
I’ve added a user to the User field in the notification, who will receive the tab 

The notification is triggered via an event in a scheduled job.

Could you please check if there’s anything wrong with my script

@Akhila P 

which user you configured in the Who will receive tab?

when you are triggering the event using eventQueue() give the instance email address as "parm1"

Then in notification make "Event parm1 contains recipient" as TRUE and remove the user from who will receive tab

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar , I quiet don't get this "when you are triggering the event using eventQueue() give the instance email address as "parm1" ".

where should I give instance email address as parm 1 ? 

@Akhila P 

you mentioned you are using event to trigger the notification from job

there in parm1 give instance email address

gs.eventQueue('eventName', glideRecordObject, 'instanceEmailAddress');

Then in notification use "Event parm1 contains Recipient" checkbox as True

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader