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.

How to turn off Service Portal notification when consumable is consumed/assigned

Gioo
Tera Expert

Hi everyone,

 

I am facing a challenge that has been on my head for the past 2 weeks where a request is closed complete, the workflow assigns a consumable to the requested_for. If the user has that consumable previously assigned to them, that adds up the quantity and the following notification kicks in at the Service Portal: 

 

Merged updated record with previous record with similar attributes: Stockroom - , State - In use, Substate - null 

 

For reference, the notification looks like this:

 

Gioo_2-1714143417804.png

 

I'd like to not display that notification but the sc_request page has no additional Widget added to it as this is a developer instance with no changes. The notification seems to be triggered by the following span class but I am not able to find that html or class on widgets.

 

Gioo_1-1714143329921.png

 

 

Would anyone be familiar with this type of widget notification? 

 

Regards,

Gio

 

 

 

1 ACCEPTED SOLUTION

Gioo
Tera Expert

Hi everyone, I have just answered my own question and for anyone with a similar issue, the following should help you.

 

on Run Script:

 

//Hide success message from user
gs.flushMessages();

 

 

View solution in original post

1 REPLY 1

Gioo
Tera Expert

Hi everyone, I have just answered my own question and for anyone with a similar issue, the following should help you.

 

on Run Script:

 

//Hide success message from user
gs.flushMessages();