- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2019 01:38 AM
Hi Expert ,
Please check the following UI Action.
We know that we can write client side + Server side code in same UI action with the help of gsftSubmit() function.
I want to do same for "Workspace client script" as well . so when i click button from workspace , it should trigger client side an server side code both.
Current it seems "Workspace client script" only support client side function only and very strictly .
Solved! Go to Solution.
- Labels:
-
Agent Workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2019 02:22 AM
in your workspace client script , use the below line.
function onClick(g_form) {
g_form.addInfoMessage('hey');
g_form.submit(g_form.getActionName());
}
Note: it's known issue.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0754163

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2019 02:22 AM
in your workspace client script , use the below line.
function onClick(g_form) {
g_form.addInfoMessage('hey');
g_form.submit(g_form.getActionName());
}
Note: it's known issue.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0754163

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 01:26 PM