Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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