send survey after one day of incident is resolved

Community Alums
Not applicable

I have requirement where i have to sent the survey after 1 day of its resolved time for incident.

Do we need to write scheduled job if yes then how can we trigger the survey from schedule job if no then what is the other option.

 

Can anyone help me 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use daily scheduled job

1) check which incident got resolved 1 day before

2) then based on that trigger the survey from script

sharing few links for help

How do I create survey instances from a scheduled job?

https://community.servicenow.com/community?id=community_question&sys_id=f52347e1dbd8dbc01dcaf3231f96...

https://community.servicenow.com/community?id=community_question&sys_id=0d980b21db5cdbc01dcaf3231f96...

Regards
Ankur

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

Community Alums
Not applicable

do we need to create new field on incident table which will set on value 

not required.

you already have OOB field on incident table i.e. resolved_at which tells you when incident is resolved

Regards
Ankur

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

Community Alums
Not applicable

I have created this scheduled job but not working

 

find_real_file.png