- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2016 10:30 AM
How do I get the sysid of the item about to be created through a Record Producer in a Catalog Client Script? To clarify, I am not looking in getting the sysid of the catalog item itself, but the record that will be produced once someone submits the request.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2016 11:48 AM
I think I found a way of doing by referencing a DOM element. The following code is giving me the sys_id in a catalog client script :
gel('sysparm_item_guid').value
I was hoping there was some function call I was missing but it doesn't look like that is the case.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2016 10:38 AM
Hi Constantine,
Until the record is actually created, there is no sys_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2016 10:51 AM
I was just wondering if GlideGUID class would be of any help to generate the 32 bit GUID and use it as a sys_id for generating record on RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2020 05:18 PM
then how can we fetch the item being ordered?
Please reply

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2016 10:44 AM
Krick,
What is your use case here?
Thanks,
Abhinay
PS: Hit like, Helpful or Correct depending on the impact of the response