gs.addErrorMessage() is cleared automatically after 2 seconds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2023 03:40 AM
Hi developer community,
I created a simple business rule which aborts an action if someone tries to change the value in the field "assigned_to" and if there is an open part requirement record at the same time (errors based on states).
The issue is that if I call setAbortAction(true) the gs.addErrrorMesage() shows the error only for 2 seconds.
I tried all orders from these 3 functions but nothing worked. (setAbortAction(true), addErrorMessage(), setRedirectURL())
Does someone have an idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2024 05:22 AM
Hello Igor,
There must be UI policy script on same table which clear Messages.
Please check Ui policy script where "clearMessages" is mentioned.
it works fine after deactivating ui policy.
Thanks,
Sampat