- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 11:46 PM
hi All,
i hope u r all ok.
I am creating an order guide for the first time and i am facing an issue.
i do have a variable set (requester details) which includes name, mgr, business unit, phone, etc)
also, the 2 catalogue items included in the order have the same variable set.
what i would like to do is to fill out the variable set in the "needs" stage and for those values to automatically pass on the same variable set included in the other catalogue items.
For this purpose i created a cat client script that sends those values to a session storage variable. It works except for one situation that i don't know how to fix (here is where your brain is required).
when the order guide is loaded in the portal the person logged in's details are defaulted in the variable set.
However, if the user does not have a business unit in its profile the value is defaulted to NONE, but the person can manually select it (as this field is mandatory as per "onload values" image. it is a select box with fixed list). So, at this stage the user selects the missing business unit and click NEXT button.
Issue is that the business unit value in the two catalogue items is not populated ("values passed....image) and when i go back to the "needs" screen the business value went back to NONE.
any ideas on how to fix this?
regards,
Max
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 12:00 AM
Hi,
Cascading variables in an orderguide is a built in functionality. You don't have to script it.
https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-manage...
Regards,
Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 12:00 AM
Hi,
Cascading variables in an orderguide is a built in functionality. You don't have to script it.
https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-manage...
Regards,
Niklas