Send a Business Criticality Survey to the IT Application Owner of Each business application

Anuhya_691
Tera Contributor

Send a Business Criticality Assessment/Survey to the IT Application Owner from the table Business Application.

Initial send needs to be a bulk send to all Business Application IT Application Owners at the same time which meet the conditions. 
Conditions for Business Application - Status is "Implementing" or "In Production"
Ex: If an IT application owner has 10 business application, then he/she need to have single email with all business application names and survey links separately.
I already have the survey in place where i have given trigger condition, which will not send the bulk notifications for all the business applications in bulk.
1)Can someone know how we can trigger a survey in bulk and only once it should trigger and no repetition?
2)How can we include multiple business application names with sperate survey links in an email notification?

2 REPLIES 2

Anuhya_691
Tera Contributor

Hi,

I'm triggering a ServiceNow survey using "SNC.AssessmentCreation().createAssessments()" from background script, but getting result: noquestions and no instance created.

 

Script:

var typeSysID = 'a95bdcb847dc831052706d1f316d437c';

var sourceRecordID = '57af7aec73d423002728660c4cf6a71c';

var userID = 'a83820b58f723300e7e16c7827bdeed2';

 

var result = new SNC.AssessmentCreation().createAssessments(typeSysID, sourceRecordID, userID);

gs.print('result: ' + result);

I am working with this script.

Hi @Anuhya_691 

 

Check the first post Reported on same issue, 

 

Check it : -var a=new SNC.AssessmentCreation().createAssessments(inputs.quizsisid,'',inputs.usersysid); returns... 

AssessmentUtils().createAssessments returns 'noquestions' 

AssessmentCreation - Global - Using Business Rule 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: