Urjent: sc tasks showing related sc tasks without ritm

raj765_32
Tera Contributor

urjent;

 

i have written a  before business rule when any new group is created and generate sc task and assign it to monitoring team, what im facing is that the sc task is getting created and in the below sc tasks im seeing many other sc tasks in the related lists form section with name : 'All related items', 

 

i have generated an sc task without an ritm through before business rule.. can anyhelp me why im seeing nearly 2000 sc tasks .

 

BR: 

(function executeRule(current, previous /*null when async*/) {
 
var gr = new GlideRecord('sc_task');
gr.initialize();
 
gr.assignment_group = '69da495613a513007b6256022244b043'; // Monitoring group
//gr.assignment_group = 'a0cc6d93db123340d8837fc88c96196e'; // process specilaist
//gr.short_description = "Evaluate Assignment Group Changes";
gr.short_description = "Evaluate Assignment Group Changes. " + "A New Group Has Been Created With Name - "+ current.name;
 
gr.insert();
})(current, previous);
1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @raj765_32 

 

Is this issue still open?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************