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.

Custom message on the ESC Portal

Sagar Rd
Tera Contributor

HI Team,

 

Can you help if there is a possibility to add a custom message like "Thanks for submitting the case" once we submit the HR Case.

 

Thanks

2 REPLIES 2

shantanu_patel8
Mega Guru

Hi @Sagar Rd 

 

You can achieve this functionality by using a onSubmit client script with UI type as "All". 

 

In the script you can mention check if the form is new using "g_form.isNewRecord" then display your custom message using "g_form.addInfoMessage('custom message')".

 

Please mark the answer helpful and correct if it resolves the issue. Happy scripting 🙂

 

-Shantanu

 

HI @shantanu_patel8 

 

It should be a catalog client script or a normal client script on the table.

 

Thanks

Mourya