close tab in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2023 06:21 AM - edited 08-01-2023 06:22 AM
Need to close the tab on workspace once the record producer is submitted.
Have a button on workspace called Open record producer, once i click on it, it opens the record producer.
I want to close the record producer once it is submitted.
I tried with g_aw.closeRecord(); in onsubmit catalog client script , but its giving me javascript console error - g_aw is not defined
Can anyone help me out here?
Is it possible to close the tab of a workspace using onsubmit client script or is there any where we can close the tab once the record producer is submitted

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 02:43 AM
Hi Arey,
Did you get a solution to this? I need to do something similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 03:00 AM
HI @arey yaar @RKumar3 have you seen this?
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1209035
Regards,
Siddha

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 10:19 AM
Thanks SiddharamTakali. Unfortunately it does not work for me.