- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 10:39 AM
Hi team,
I have a variable on order guide, i need that variable value which is given by user in to workflow.
note: my workflow is on request table.
currently i am using script like below, but i am getting undefined in logs
var input = workflow. variables. approver;
gs.log('@@@'+input);
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 03:08 PM
Hey Deepthi,
Check out this link - https://community.servicenow.com/community?id=community_question&sys_id=65170fe5db1cdbc01dcaf3231f96...
Another one that should help - https://community.servicenow.com/community?id=community_question&sys_id=181f7a29db58dbc01dcaf3231f96...
'Order guide' really isn't an item that's ordered at all. It never exists as an actual record in the database for a flow to operate on, it's just a UI form that displays the appropriate catalog items to a user. Everything related to the order guide disappears as soon as you select 'Choose options' and move from the initial order guide screen to the catalog item tabs.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 10:43 AM
Hi Deepthi,
Try-
current.variables.approver
Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 03:02 PM
But priyanka this variable is on order guide form. My wordlow is on request table and i already tried that i am getting undefined in log

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 03:08 PM
Hey Deepthi,
Check out this link - https://community.servicenow.com/community?id=community_question&sys_id=65170fe5db1cdbc01dcaf3231f96...
Another one that should help - https://community.servicenow.com/community?id=community_question&sys_id=181f7a29db58dbc01dcaf3231f96...
'Order guide' really isn't an item that's ordered at all. It never exists as an actual record in the database for a flow to operate on, it's just a UI form that displays the appropriate catalog items to a user. Everything related to the order guide disappears as soon as you select 'Choose options' and move from the initial order guide screen to the catalog item tabs.