Service Catalog Variables - method for automatically displaying Request Item variables to Catalog task

aliciamiller
Giga Contributor

Service Catalog Variables - looking for a way to automatically/dynamically display the (Parent) Request Item variables to the (Child) Catalog Task(s) via a client script or configure form editor (display parent variables? - been able to do this with the parent Log/Notes but not variable editor).

We have built a couple of workflows to handle the majority (180) of our catalog items that have a 1 to 1 relationship of request to task.   We are passing the assignment group and duration from the Cat Item to WF Task Activity   and setting the task name to be same as Item Name - this seems to be working well. Would like to just set this up and leave it alone but currently have to edit WF Activity to manually add all the variables for each new catalog item     - seems like there ought to be a more efficient way to dynamically pass that info as well.

Thx! Any direction would be appreciated - newbie - going live in sept.  

1 ACCEPTED SOLUTION

Deepak Ingale1
Mega Sage

Hi,



You can easily do it.


Go to 'Maintain Item'


Select your catalog Item.


Open its form and add 'Global' field to it if not already present on form.


Make Global = true


It will ensure that variables are available on requested item as well as catalog task form.



http://wiki.servicenow.com/index.php?title=Using_Service_Catalog_Variables#gsc.tab=0


check section 2


2 Creating Variables for Catalog Items




GlobalAn option to show the variable in ll catalog tasks within service catalog workflows or execution plans by default. The variable must be attached to individual catalog tasks if this option is not selected.



View solution in original post

3 REPLIES 3

Deepak Ingale1
Mega Sage

Hi,



You can easily do it.


Go to 'Maintain Item'


Select your catalog Item.


Open its form and add 'Global' field to it if not already present on form.


Make Global = true


It will ensure that variables are available on requested item as well as catalog task form.



http://wiki.servicenow.com/index.php?title=Using_Service_Catalog_Variables#gsc.tab=0


check section 2


2 Creating Variables for Catalog Items




GlobalAn option to show the variable in ll catalog tasks within service catalog workflows or execution plans by default. The variable must be attached to individual catalog tasks if this option is not selected.



Thanks - that did the trick!! I just exposed that field in my list view and all were false so score!! I didn't even know that was an option at the variable level.   Appreciate the help!


TJW2
Mega Guru

Deepak is correct on this one.   Only note - set the individual variables to 'Global' not the Catalog Item.   I usually add the global field to the related list of varaibles ont he Catalog Item and change all to Global.   You can also change the default setting on the 'Global' flag to True, which will set all new variables to global by default.  


Setting the variables to global will make them show on RITM and tasks by default.