- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2022 08:26 PM
Hi Venkat,
Did you find the solution? me too stuck with same scenario. Can u help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 10:39 PM
Hello Swati,
Did you got the solution for this, I'm also having same scenario. can you help me with this.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 01:37 PM - edited 04-05-2023 08:53 AM
Hi Prasanna,
You can define another trigger on 'sys_user' table with field id as 'sys_id' and reference it in the BR for first trigger.
Example:
Trigger 1: (on task table) when record is updated based on the conditions.
In the BR, update the script with your logic to trigger Trigger 2
Trigger 2: (on user table) with field sys_id
I hope this will help. 🙂
Let me know.
Thanks
Z