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.

Show Info Message when Resolved Incident ticket is opened in employee center from My request

onsnajay
Giga Contributor

I need to show Info message when user opens resolved ticket in employee center. 

I have attached screenshot of the same. Need help for how to show Info message in highlighted area.

 

4 REPLIES 4

PratikshaKate
Tera Contributor

Hi @onsnajay You can create a display business rule and in advanced section provide the code.

 

if (current.state == 6) { // I assumed here that the state 6 is resolved.
gs.addInfoMessage("This ticket is resolved. Please review it.");
}

 

Mark my answer helpful if it helped you 🙂

onsnajay
Giga Contributor

I had used display business rule, it worked on Native UI/standar ticket view but doesn't work for employee center.

onsnajay_0-1751478633165.png

 

 

onsnajay_1-1751478669096.png

 

PratikshaKate
Tera Contributor

@onsnajay In that case please find the link below :

 

Solved: Re: How to make a info message or alert for Native... - ServiceNow Community

 

Mark my answer helpful if it works 🙂

SanjanaK
Tera Expert

Hey @onsnajay ,

 

You can try using Announcements as suggested by @PratikshaKate.

Also, just a suggestion - Try to hide your client details whenever you are posting questions or attaching any screenshots. 

 

************************************************************

Hope the answer helps!

Happy Learning!