- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 12:36 AM
i tried:
gs.clearOutputMessages();
and
gs.clearMessages();
but it does not work
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 12:45 AM
Hi,
Clear/hide messages will work only on the client side.
or you can try with the flush message on the server-side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 02:43 AM
That is not possible.
Once the UI action runs it would run completely and not row wise.
Can you share the UI action script?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 10:54 PM
It is possible.
If you have to approve more than one Approval.
you can got to the List of Table "sysapproval_approver".
Search all Records where you are the Approver.
Select more than one Record on the List.
search the Drop Down on the Bottom of the list.
Select the UI Action Approve (list Action) - Edit the Ui Action (create a log)
Approve
Search the Logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 11:36 PM
I believe there is some configuration that restricts approving only 10 records.
please check that script.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 11:39 PM
Ankur 😄
yes that is my script 😄 😉
an i dont want 11 Messages, i only want one Message, because of that, i asked how i can clear Messages on Serverside.
The Approval UI Action updates every select Record. So of course the Message is created for every Record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2021 11:49 PM
If you have added that message in BR then BR will anyhow run for all records and not once since you selected more than 1 record
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader