Unable to access order guide variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 03:43 AM
Hi Team,
We have few challenges on accessing the order guide variables and setting the values on the request fields. We have two use cases and I listed below:
Use Case - 1:
We have an order guide (Request/Remove Access - North America) with few variable sets and one of the variable set is to get the delivery address from the user. Our use case is to set the delivery address value of the request(REQ) from the user input order guide variables. I have tried multiple alternatives, but none of them is working efficiently. (refer images: order_guide_variable_01, order_guide_variable_02)
Use Case - 2:
The same order guide (Request/Remove Access - North America) that have a variable set called "request_access". This variable set will ask few question regarding whether the user is new hire or existing employee, workspace (On Site or remote). Once the request gets submitted, on the RITM and SCTASK, we are unable to bring the variables of the "request_access" variable set. The items are not associated with that specific variable set. (refer image: order_guide_variable_02)
I need few help on how to bring those variables without including that variable set into each item.
Thanks in advance,
Dhanesh J.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 03:54 AM
Order Guide variables exist only in the browser, client side.
Only variables on Catalog Items in the Order Guide are saved.
What you can do is to add the same variable set both to the Order Guide and one (or all) of the Catalog Items and activate the "Cascade Variables" option of the Order Guide.
Then whatever is entered into the Order Guide variables (on tab "Describe Needs") will be copied to Catalog Items (matching happens by variable name) when button "Next" is pressed.
Of course you would need some flag variables and UI Policies to hide variables on Catalog Items when they are part of the Order Guide so that users don't get confused - seeing variables both on the 1st and the 2nd pages of the Order Guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 04:05 AM
Hi,
Thank you for the quick response.
Yeah, this solution I can agree. But we have more than 200 catalog items and we have to include that variable set and client scripts in all of those items. In future, if we are creating any new items, we have do the same set of things. Do you have any other custom alternatives that will solve that issue.?
Regards,
Dhanesh J.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2024 04:14 AM
Come up with a custom widget, or customize the OOB widget to do whatever needs to be done.
But I'd go with the cascading variable set option.
That is the main reason why they exist: easy integration in as many Catalog Items as needed.