Show requestet item (RITM) variables in Change (CHG)

itnow
Tera Contributor

I have created an extensive catalog item with a workflow, in which, among other things, a change is initiated. Is there a way to display the requested item (RITM) variables of the item in the change (CHG)? The 'Change Variable Editor' only shows variables of the change itself. However, I would like to see the variables of the RITM.

Does anyone have an idea?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@itnow 

OOB it's not possible. It will only show variables associated to this CHG if it was submitted via a record producer.

You might have to customize the OOB UI macro
OR

Create a form section and add a formatter there and show RITM variables as HTML table if the only ask is to show the variable information

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@itnow 

OOB it's not possible. It will only show variables associated to this CHG if it was submitted via a record producer.

You might have to customize the OOB UI macro
OR

Create a form section and add a formatter there and show RITM variables as HTML table if the only ask is to show the variable information

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi @Ankur Bawiskar,

 

Would you be able to explain further on the suggestions you provided? or maybe guide me to reading more on this as I am in the same situation and having difficulty understanding or building upon what you were referring too. 

 

Very similar to @itnow situation, my catalog item has a few variables that I'd like to bring over. However, there is a small difference where there are variables on the RITM that I'd like to copy over to existing fields on the change form; such as Justification, Risk, Backout etc. 

 

Looking forward to hearing from you. 

 

Much appreciated. 

itnow
Tera Contributor

Thank you @Ankur Bawiskar, we were able to solve it using the suggested formatting approach. Thanks!