current.setabortaction(true) invalid insert error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 12:59 AM
Hello Experts,
I have one requirement as per the requirement everything working fine. when I used setAbortAction(true) I am getting an 'invalid insert 'OOTB error message. I don't want to show a message.
how can I achieve this please guide thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 01:07 AM
Invalid insert message comes from ServiceNow platform level to indicate record is not saved so we can not remove or hide it
Refer below link for more-
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 02:05 AM
You cannot remove it, its a feature.
You can add another message with a more meaningful reason as to why the action was aborted for the user.