How can i split a url and take out the sys_id value and use in a variable.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-24-2017 12:35 AM
URL=ServiceNow
I want to take the url of the current page and get the value of sys_id used in the url .
How to get the value of sys_id if I want to use it my script?
Labels:
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 12:37 AM
Hi Karun,
Have you checked it? Were you able to resolve your issue?
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2017 12:46 AM
Please try using gs.action.getGlideURI().get('sys_id') and let me know if it answer your purpose?