
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 04:22 AM
Hi Team,
We are facing an issue with UI Action in the agent workspace. We have a button and if it clicks, it will reload the page and creates a record on 'x' table in normal(ITIL) ticket view. But when comes to the same button in workspace it is not reloading the page and not creates a record. But when I manually reloading the workspace page then it's creating. please check the below code that we wrote and let me know if any changes in the UI Action script. it should be work on both workspace and normal(ITIL)ticket views.
Tried all the ways but issue was not resolved..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 01:00 AM
Can you check the Client Checkbox as True as shown below :
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 10:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 12:34 AM
Hi,
Try this in Workspace Client Script and let me know if you are still facing an issue:
function onClick(g_form) {
g_form.reload();
}
Refer the blog below on the same topic:
https://community.servicenow.com/community?id=community_article&sys_id=4bed66b6db91fc1014d6fb243996199b
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 12:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 01:00 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2022 01:20 AM