How to send email receipt using check box question in Survey ?

Virendra K
Kilo Sage

Hi All,

I have created a Survey. If a Request is closed then relevant survey will be get triggered to the submitter.

Once a submitter submit a survey and if "Send me an email receipt of my responses" question check box is checked then an email receipt need to send as a part of submitters response (snap). 

 

How I could achieve this? where I could do the configuration of this ? 

 

VirendraK_0-1750517526764.png

Regards,

Virendra

 

 

 

1 ACCEPTED SOLUTION

SanjanaK
Tera Expert

Hello @Virendra K 


1) You can create an email notification on Assessment Instance Question 'asmt_assessment_instance_question' table and add below conditions

When to Send:
Category is Your survey name

Metric is Send me an email receipt of my responses

Notification when to send condition.png

 

Who will receive:

Users/Groups in fields: Instance.Assigned to  (To whom the assessment survey was assigned to)

 

What it will contain:

You can call an Email script using below line

${mail_script:email_script_name}

 

2) Write below code in Email Script:

Email script code.png

******************************************************************

Hope the answer helps!

Happy Learning!

 

 

View solution in original post

2 REPLIES 2

SanjanaK
Tera Expert

Hello @Virendra K 


1) You can create an email notification on Assessment Instance Question 'asmt_assessment_instance_question' table and add below conditions

When to Send:
Category is Your survey name

Metric is Send me an email receipt of my responses

Notification when to send condition.png

 

Who will receive:

Users/Groups in fields: Instance.Assigned to  (To whom the assessment survey was assigned to)

 

What it will contain:

You can call an Email script using below line

${mail_script:email_script_name}

 

2) Write below code in Email Script:

Email script code.png

******************************************************************

Hope the answer helps!

Happy Learning!

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

so what did you start with and where are you stuck?

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