Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Prevent triggering existing notifications from ui action

abhisek
Tera Contributor

I am working on a requirement where I am converting an incident to a request through UI Action. Once the request is created the incident will be cancelled. but in this scenario, I want to prevent triggering any existing notification as I will be sending a new notification regarding incident closure.

I am using setworkflow false here in the ui action script but that is not working.

 

Can anyone please help me out.

Thanks&Regards,

Abhisek Chattaraj.

1 REPLY 1

Kieran Anson
Kilo Patron

"I want to prevent triggering any existing notification as I will be sending a new notification regarding incident closure." - Wouldn't it be simpler to update the notification(s) to not fire based on a filter criteria that matches the update you're making to the incident record you're cancelling?