Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

what can be the interview questions on both Inbound and outbound email Integrations?

mallikharjunasw
Tera Contributor

what can be the interview questions on both Inbound and outbound email Integrations?

1 ACCEPTED SOLUTION

HI,

1) how to call email script into notification?

Answer: ${mail_script:nameofmailscript}

 

2)Why template.print is use in mail script?

Answer: to print the results to notification.

 

3) When you create a notification, you use email template which has subject and body in it. Also the notification has subject and body? WHich will get priority?

Answer: notification subject and body will get priority. If notification doesnot have subject or body it will be used from template.

 

4) Why do we use email layout?

Answer:Email layout is reusable template which can be used in many notifications.

 

5) Can we access event param in mail scripts?

Answer: Yes we can use them as event.param1 or event.param2.

 

6) Why we use omit watermark checkbox?

Answer: So outbound emails will not have watermark.

 

7) Significance of each parameter in mail script

(function runMailScript(/* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */ email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */ event)

Answer: https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/script/server-scripting/referenc...

 

😎 HOw to add people in cc and bcc using script in notification?

Answer:addAddress(String type, String address, String displayname): type can be cc or bcc.

 

9) gs.eventQueue has how many parameter's?

AnsweR: 5

 

10)How many ways notification can be triggered?

Answer: event, record insert / update, trigger from flow designer, workflow.

11) What is the user of send to event creator?

Answer: Person who triggers the event will receive the notification if this box is true.

Thanks,
Ashutosh

View solution in original post

5 REPLIES 5

ks reddy
Tera Contributor

Hi,

I want interview questions related to update sets  and Import sets can anyone help me?