Info Messages in UI pages after form loads
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 05:49 AM
Hi All,
We have a use case to trigger approvals on the HR case form and it will be notified to the approvers using custom notification on approval table. Whenever the approver clicks on the approve/reject link from the notification the approval record should be updated as approved/rejected and re-direct to the case form in HR Agent workspace and it should display one Info message saying "The record was approved/rejected". If another approver tries to update the record then it should display one more info message saying "The record has been approved/rejected already".
Currently I can able to achieve it using UI page except showing the Info messages after the form loads in HR Agent Workspace. I tried using alert /Info messages in client script but they are showing before the form loads. Could anyone suggest how to display Info messages after the form loads
Thanks in Advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 03:02 PM
Please try to use spUtil.addInfoMessage("Your message");
If my reply is Helpful/Correct, please mark the answer as Helpful/Correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2022 12:52 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2022 07:03 AM
The following post -Control where system messages appear on a UI page? have your answer you are looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2022 01:02 AM
Hi John,
Thanks for providing the link!!