Where are Catalog Item Variables values stored, and How do I move them to the RITM_Descirption via Workflow?

psenkow1
Giga Contributor

I have a catalog item that has several variables associated with it.  I thought the catalog item variables were stored in some table extended from sc_cat_item, but I have been unable to find it.

From within my workflow, in the RITM (request item) I want to (either or both):

1.  Set the short_description to one of the variables in the catalog item, or contatenate 2 of the variables.

2.  Set the description to all of the variables.  

We will ultimately want to display this in the Homepage, which is why I need it to be in the Short Description or Description, rather than in the "Variables" list on the RITM form.

I am afraid I have stepped way deeper than my JavaScript coding abilities!  

Has anyone else done this?  

Can anyone tell me what I need to do?  

I really appreciate the help!

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Patricia,



You can copy the variable value to the RITM field "short_description" as


current.short_description = current.variables.PASS VARIABLE NAME HERE;


View solution in original post

8 REPLIES 8

shivanipatel
ServiceNow Employee
ServiceNow Employee

Hey Patricia,



Perhaps this will help: Dot-walking



Best,
Shivani Patel



If you feel that your question was answered, we would greatly appreciate if you could mark the appropriate thread as "Correct Answer". This allows other customers to learn from your thread and improves the ServiceNow Community experience.


Thank you all so much!   Yes, this was very helpful.   I have gotten so much great help here, and I got my problem solved!   I want to mark the correct Answer(s).   But I do not seem to have that option.



I have another question out on the Community, asking if someone can tell me where to go mark the correct answer(s).   As soon as I figure that out, I'll close all this out.



Again , THANK YOU!!


Glad you figured it out Patricia Here is more info in case you're interested



How To Mark Answers Correct From Community Inbox


On Wed, Sep 13, 2017 at 7:53 PM shivanipatel <