How to show info message in native UI and Workspace in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 02:02 AM
Hi,
when i click create request button in incident,it opens one dailog box and fill related information about request and submit.After submit i have to show info message(Request has been created successfully) in both native view and workspace.In UI Page i'm adding g_form.addInfoMessage, it is working in native view but not in workspace.how to acheive in workspace as well? Please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 02:48 AM
Hi @ShaikSaiduN, @Dr Atul G- LNG,
Unfortunately UI pages are not supported on Workspaces.
Are you using Agent Workspace? Or Custom Workspace using UI builder?
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2025 03:34 AM
The below image is from native UI. Your saying that,like this below we can't acheive in workspace?If not,then how can we acheive this?Please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 07:32 AM
Hello, there is a UI Action called "Create Request" for the Workspace. It's in the ITSM Workspace application scope. You can add the g_form.addInfoMessage('Task created successfully'); under the Workspace Client Script box. I hope this helps!