How to send the reminder notification survey to the users who have not taken the survey.

Gagandeep2
Mega Contributor

How to send the reminder notification survey to the users who have not taken the survey?

 

@asifnoor 

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

Hi,

Go to your assessment table and filter them like this

find_real_file.png

 

Then create a event on your assessment table

Write a scheduled job which triggers daily and query the assessment table with the above encoded query.

And trigger the event.

Create a notification which listen to this event and select the recipient as assigned_to

Mark the comment as correct/helpful if it helps to solve the problem.

View solution in original post

5 REPLIES 5

Swathi73
Tera Contributor

Hi, I created scheduled job, event registry and notification passing in evanr param1 to send reminder survey notification.

I need to provide feedback survey hyperlink to take feedback. So i created email script in notification with below script

 

var link = new AssessmentUtils().getAssessmentInstanceURL(current.metric_type.sys_id);
var url = '<a href="' + link +' ">Take me to the Survey</a>';
template.print(url);

 

but it is always redirecting to same instance for all the users passed in eventparam1. 

https://dev74798.service-now.com/sp?id=take_survey&instance_id=99471f319f0312006371f84bc42e70f1

how to dynamically get assessment instance url for the users passed in event param1.

 

Thanks in advance.