How to show info message in native UI and Workspace in servicenow

ShaikSaiduN
Tera Contributor

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.

7 REPLIES 7

Medi C
Giga Sage

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.

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.

ShaikSaiduN_0-1741948433066.png

 

laurentrimble
ServiceNow Employee
ServiceNow Employee

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!