Regarding creation of notification when catalog task is not being closed after 1 week

Shreya3
Tera Contributor

how we can built from scratch the code for creating notification to be sent to technology Ci Owner manager and cc technology ci owner and suppport group if catalog task has not yet been closed after 1 week. And also need help for creating notification to be sent to technology Ci Owner manager and cc technology ci owner and suppport group to create p1 incident and then send email if catalog task has not yet been closed after 2 weeks . please help on this. I have created  2 event registry  , 2 email notification and 1schedule job. but in schedule job i am not able to put proper code for both of the scenarios can anybody help on this asap, as I am new to this.

26 REPLIES 26

Akash for the given code which you have provided it is not sending notification to the people which are required. It sending notification to other people. but in who will receive tab i have given proper person name. so any idea where i am going wrong? please help

Hi @Shreya3,

Hope you are doing well and glad to see that my work or solution is helping you in some way.

 

For this, there can be 2 possible reasons for which the person you are adding in "Who will receive" Section is not able to receive the Notification: -

  1. Reason 1 - Check if the person is having an email address. You can check this on the User Form for this user by opening the user's record.
  2. Reason 2 - Check if "Notification" Field for this user is set to "Disable", the system will not send the email to this user in this case. Change it to "Enable" to restore email notifications.

 

Hope one of the reasons will resolve your concern or issue and please don't forget to mark my solution as helpful and accepted. If any of the above reason will not work. Let me know, I'll take a look into it to provide the suitable solution.

 

Thanks 🙂

Aakash Garg

ServiceNow Developer