Can an order guide link to another order guide?

geek1
Kilo Contributor

Has anyone tried linking one order guide to another order guide? We have a New Hire OG and an Applications OG we'd like to link together where at the end of the New Hire OG we can direct them into the Applications OG and pass the variable data from the New Hire OG to the 2nd OG.

The main goal is to have a Users section on both OGs that have the same fields and after they type it in on the New Hire OG it'll transfer the user to the subforms they normally would for the New Hire OG but also start the OG for Applications and pass the same user information they typed in.

I tried to use a rule base but it's filtering out Order Guides so it doesn't look like there's a native way to do it.

Any thoughts?

6 REPLIES 6

shane_davis
Tera Expert

Has anyone found a solution for geek's question?

I have an order guide for Access Forms, but would like to link to the software items when the user selects the corresponding access form.


Aaron40
Kilo Guru

One option that works (I've done this before) is to create a macro on the first Order Guide. Have an onchange script that dynamically changes the macro link based on the values of the fields on the form. The link will be to the 2nd order guide with built in parameters in the URL itself.

On the 2nd Order Guide you have an onload script that reads the URL paramaters and stores them as variables. You then populate the fields on the Order Guide with your stored data from the previous Order Guide.


shane_davis
Tera Expert

Aaron - The description is above my expertise level, but I will do some research per your description. Thank you for your quick reply!


I wish I had some code to show you but I can't produce it since it's for a company I no longer work for. It's complicated and there's a lot of little pieces that all have to work together.

For reference:
UI Macros:
https://www.google.com/url?q=http://wiki.servicenow.com/index.php%3Ftitle%3DUI_Macros&sa=U&ei=yHhpUu-qB4bO2QX05oCQAw&ved=0CAcQFjAA&client=internal-uds-cse&usg=AFQjCNGw1fE0kKAPCAJ7lTbBScmdHttF5w

URL Params: http://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script/

Client Scripts : https://www.google.com/url?q=http://wiki.servicenow.com/index.php%3Ftitle%3DClient_Scripts&sa=U&ei=LnlpUuz7HaqF2AWIp4GgCw&ved=0CAcQFjAA&client=internal-uds-cse&usg=AFQjCNF-BgOhA_q31aVA2njE7fBZG5ek9A