The CreatorCon Call for Content is officially open! Get started here.

Insert and Update Notifications getting triggered during insert of a Record.

devendranarun
Tera Guru

I have created 2 Notifications (Insert and Update). When i create a new record, the insert notification gets triggered due to insert check but Update notification also gets triggered along with this. What can be the issue? Any help is highly appreciated.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Deven,

So since you have 2 notifications one for insert and one for update check whether for insert notification insert flag is true and for update notification update flag is true. At one point of time only 1 flag either insert/update should be true for both the notifications

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

9 REPLIES 9

Kamal17
Kilo Sage

Hi,

 

In your update notification, in the advanced condition section add script,

answer = !current.isNewRecord();

 

Mark Correct if this solves your issue. Hit Like/Helpful based on the impact.

Regards,

Udhay

If you have added any other filter conditions in the condition builder then include them as well in the advanced script section.

 

Hi Udhay,

I have added line as you have mentioned above, but it is still the same.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Deven,

So since you have 2 notifications one for insert and one for update check whether for insert notification insert flag is true and for update notification update flag is true. At one point of time only 1 flag either insert/update should be true for both the notifications

Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader