ccajohnson
Kilo Sage

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.

Hi @ccajohnson

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

Not applicable

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

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

Hi Venkat,

 

       Did you find the solution? me too stuck with same scenario. Can u help me on this.