show error msg to not certify empty values on cert task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 09:25 AM
Hi team, i am trying below solution
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 09:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 04:27 AM
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.