show error msg to not certify empty values on cert task

Deepthi13
Tera Expert

Hi team, i am trying below solution

Deepthi13_0-1668619490357.png

 

i am trying the same solution but i am not getting "gs.addErrorMessage('Empty Field Values cannot be certified');"

it is aborting from form submission but not getting error message on top of the form when i click on certify. please suggest

2 REPLIES 2

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Deepthi13 ,

Is there any other script running on the same table which causes the abort action?

Also check for mandatory fields are properly filled or not.


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

Hi @Gunjan Kiratkar , it is aborting by using my BR but i need to display my msg on cert_task table when any element is certified.

but i need to check on certification element table. when it is goign to state to certified.