Urjent: sc tasks showing related sc tasks without ritm
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 08:55 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 04:06 AM
Hi @raj765_32
Is this issue still open?
*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
