how to read values from catalog item to order guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 05:52 AM
Is there any way we can get the catalog item variable value in to the order guide?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 05:56 AM
Hello,
Please give more information as the order guide is seen first...before the catalog items are loaded.
If you're talking about retrieving an order guide variable value...within the order guide to do something with it, then you can access it via client script as needed or if you need to use it as part of the next step (after the user is finished with the order guide), then you can refer to my article here: https://community.servicenow.com/community?id=community_article&sys_id=61ccb3d9dbd0d110b5d6e6be13961...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 05:57 AM
Hello,
Order guide is visible first and then Catalog item, Usually I have seen questions asking how to pass information from order to Catalog item
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2022 06:27 AM
I would need to do some validations on the onsubmit of the order guide based on the selections made in the catalog item. hence, Im trying to find is there any possibility to access the catalog item variable on the order guide client script.
Note:
The validations cannot be done from the corresponding catalog as the validation invloves with selections made with different items. for example: catalog_item 1 has request_type1 and catalog_item2 has request_type2 - I would need to verify something like , if request_type1 == '' && requesttype 2 == "" then 'do something' like that.