"Lock and unlock" notifications

Felipe Angelo d
Tera Contributor

Hello, community!

I need some help with notifications.


I'm having a problem with the following:


- I have a button (UI Action) that allows me to clone a RITM, making the clone identical to the original one

FelipeAngelod_0-1735930727662.png


- When any RITM is created, a creation notification is triggered and if there is an attachment, an attachment notification is also triggered.

FelipeAngelod_1-1735930790808.png

 

The problem is: when the clone is created, the creation notification is triggered and if there are attachments, the attachment notification is also triggered, however, I don't want an attachment notification to trigger for attachments that already exist in the original item that have been passed on to the clone. And I only want this notification to trigger when a NEW attachment is added to the clone.


I've tried scrip inside the notification, business rule and other things.


Can you help me?
Thank you very much!

1 REPLY 1

Runjay Patel
Giga Sage

Hi @Felipe Angelo d ,

 

If you have maintained the flag for clone then use this as a condition in attachment notification like if clone no then send if yes then dont send.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------