How to capture catalog item variables in the description field

joseph_yamoah
Giga Contributor

I have created some catalog items, some of them have quite lengthy variables and I would like to map all these variables to the description field on the case template of specific case table. So an example of a catalog item is Request Renaming of Organization Unit. The variables here are:

  • Current Name of Organization Unit
  • Date of Change 3. New Name for Org Unit
  • ID # of Org Unit
  • Cost Center of Org Unit

This is only an example - some catalog items have 7-10 variables. Is there a way to map this so that all the information is captured in the description field?

1 ACCEPTED SOLUTION

Tyler Herman
Kilo Guru

Hi,

I realize this probably isn't quite the ideal answer but it will help you head in the right direction, I think. Since you posted this under "HRSD", I presume you have access to what I am about to refer to. Check out the script include titled "hr_ServicesUtil". This script include is how HRSD translates variables provided on a record producer into the appropriate fields, such as the description, on a case. It's called in record producers within the script section by using: new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);

find_real_file.png

View solution in original post

2 REPLIES 2

Tyler Herman
Kilo Guru

Hi,

I realize this probably isn't quite the ideal answer but it will help you head in the right direction, I think. Since you posted this under "HRSD", I presume you have access to what I am about to refer to. Check out the script include titled "hr_ServicesUtil". This script include is how HRSD translates variables provided on a record producer into the appropriate fields, such as the description, on a case. It's called in record producers within the script section by using: new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);

find_real_file.png

manasamaniac
Mega Expert

Hi,

 

As mentioned By Tyler in below post it is one of the ways.

 

2nd method is via scripting :

find_real_file.pngThanks

Manasamaniac