Email Script

devver
Tera Contributor

Requirement: For a notification to be sent out that details key fields from the Child Problem Records. 

 

Example: 


Problem 123

 

Problem Task - Network Team - Do XYZ

Problem Task - HDI Team - Do Zzz

 

 

My initial thought is just to repurpose the email scripts used for Request Management.

 

Script: 'about the request' 

Script Include: 'RequestNotificationUtilSNC' 

 

After reviewing the scripts and cloning, I've got stuck with this section (line 45 specifically) with the 'RequestNotificationUtilSNC' script and I'm struggling to understand what it does and how it does it.  

devver_0-1721646627118.png

 

 

This is what ultimately roles up into the tasks array but not clear on how to adjust so that it'll work in the context of problem management. 

 

Any insight would be well received. Thinking at this point it might be quicker to create something from scratch! 

1 REPLY 1

devver
Tera Contributor

Was unable to get to the bottom of what 'sn_sc.CatItem(gr.cat_item)' was doing in the context of this script (or more widely as nothing on the Dev pages, but just side stepped the problem by ignoring it completely!