- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 10:25 PM
Hi All,
Please help on this, I am facing this issue, I wrote abort action code on incident form, abort action is happening but I need to display Error message, for this i have used gs.addErrorMessage(); method but after abort action it is blinking and going.
Thanks & Regards,
Aditya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 01:13 AM
Hi @Aditya253
For such issues, I take a very lame method but it proves effective and time consuming.
Deactivate all the BRs on the table, and just keep this current BR active.
Then activate the BRs one by one.
You should be able to narrow down which BR upon being activated is causing this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 11:43 PM
Hi @Aditya253,
Try by adding error message before setAbortAction() as -
if(current.state == '3'){
gs.addErrorMessage('Please fill the primary details under security tab');
current.setAbortAction(true);
}
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2023 11:47 PM
Hi Sagar,
I tried the above code which you have mentioned but still same issue
Thanks & Regards,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2024 04:56 AM
Hello Aditya,
There must be Ui policy script on same table which clearing messages.
Please check if any UI policy script which contain "clearMessages() " .
It will work fine once deactivate that Ui Policy.
Thanks,
Sampat