How to send single survey for multiple members dynamically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 11:40 AM
Hi Team,
As we all know about how the survey triggered for single user. Here my query is, how to send a single survey to multiple users dynamically.
That means, in my trigger condition, I've selected user field is "Caller_id", so, it will trigger to Caller_ID only. only on record creating on Assessment Instance table (asmt_assessment_instance) dynamically.
For example, if I select Watch list (Multiple users), how we need to create multiple records with same task in Assessment Instance table (asmt_assessment_instance) dynamically.
Please suggest is there any possibility to trigger sending single survey to multiple members.
Thanks & Regards,
Venkat
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2022 12:57 PM
What have you tried so far? How has it failed. How has it succeeded? Please share what you have built so we can focus our solution accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 05:08 AM
Hi
We have created one survey on Request table and the trigger condition is Whenever RITM closed, survey needs to send to "Requested for". This is working as expected now (As per OOB functionality)
Now, our requirement is to send this survey to Multiple users (Dynamically, that means, in Request we have WatchList field is there, based on selection, the survey needs to send to those selected members)
So, please let me know, how to send one survey for multiple users dynamically.
Thanks & Regards,
Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 07:58 AM
Hi Prasanna kumar,
Here is the solution for Sending surveys to multiple users from a Watch List:
https://community.servicenow.com/community?id=community_question&sys_id=ce4818bbdb131b80fece0b55ca961982
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2022 07:56 AM
Hi Sandeep,
I've tried to send Single survey to Multiple users, for that I've written a BR:
var gr = new GlideRecord('sc_request');
gr.addQuery('sys_id',current.task_id);
gr.query();
while(gr.next()){
(new SNC.AssessmentCreation()).createAssessments('587c8c641b3df0d0907f42e7bd4bcbfc','',gr.watch_list);
}
But, there is no record created on Assessment. Please provide any real time completed scenario, how they customized the same.
Thanks & Regards,
Venkat