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.

Cancel a pop-up message

RuthH8117563841
Giga Contributor

 how do I cancel this message, where does it come from?

This happens when I close the work order task and then it says the work order has been closed. I canceled it but can't find where the message is coming from.

2 REPLIES 2

Joshua Chen MTL
Mega Sage

it's probably a business rules.
try this:
1. go to business rules module, filter by table wm_order or wm_task
2. search by "complete' maybe its in the BR name

3. add filter "script" contains "closed "

.
Add me on LinkedIn 🙂 https://www.linkedin.com/in/joshuachen0510/

svirkar420
Tera Guru

Hi @RuthH8117563841 , This might be a client script this method is addInfoMessage(); in ServiceNow which is present in Client script OR it might be a BR as well, now this might be happening because when the state is completed or changed to completed then BR or Client script is getting triggered. 
To disable this you will have to find the Client Script OR BR whatever it is there and make it inactive or modify as you wish.
To find the related record -
1. Navigate to Client script OR BR table.

2. Add filter by name as closed OR whatever you think might find the record.

3. Make it inactive.

 

If this answer helps you in any way make sure to Mark this as accepted solution and give a thumbs up this will also benefit others as well.
Regards.
Saurabh V.