Notification on low survey scores

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2012 06:15 AM
I've been asked to create a notification for when a survey is returned with a low score. We are using Best Practice - Task Survey Management. Has anyone set up something similar? Thanks for any suggestions!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2013 02:14 PM
Hi Nikita,
just found your post and thought this sounds pretty close to what I try to achieve currently. I followed your advise in creating the business rule as described.
Now, the business rule gets triggered just fine, but works only if I manually switch a task_survey from 'requested' to 'complete'. If a survey is taken, this will also trigger the business rule, but the rule will not find any responsed. I tried before and after trigger, no luck with either one.
Here is my code to find the responses:
var responses = new GlideRecord('survey_response');
responses.addQuery('instance', current.instance);
responses.query();
while(responses.next())
{
if (responses.answer_integer>0)
{
....
}
}
Can you spot why this not works in the process of taking the survey?
Thanks,
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 03:53 AM
Hi Daniel,
We are trying to do the same, would be able to share the business rule script
Many Thanks
Shoaib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 05:06 AM
Hi ,
I have same requirement, i have created one survey for close incident and now i want when user gives low score feedback(dissatisfied) at that time one mail should send to manager of the group.
could you please help how to fix this.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2013 02:55 PM
Hi,
I found out, that by moving the business rule to the suvey_respone table I can get the data needed. However, this rule will run for each response and needs some more logic to identify wheter or not the response set is complete.
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2013 07:48 PM
Hi Daniel
The Survey Processor first(!) creates survey instance, next puts its survey_response records. Running your rule asynchronously allow the necessary delay for survey_response records creation.