Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to display the "Variable Editor" of a Request Item record in the record form of another table

bonsai
Mega Sage

I created a custom table (without extensions).
I've implemented a field that references the Requested Item table.

I created an input form using a catalog item.
The "Variable Editor" field of the requested item contains information from the input form.

I would like to display the "Variable Editor" field information of the requested item on the custom table.

Even after looking at the form layout, it doesn't seem possible to implement this.
Is there any way?

8 REPLIES 8

UmesH77
Tera Guru

Hello @bonsai , 

Yes ,  there is way , 

In ServiceNow, the Variable Editor only appears OOTB on Requested Item (sc_req_item) and Catalog Task forms.

It cannot be added directly to custom tables or other child task tables through Form Layout because it’s a special UI formatter, not a normal field.

To display catalog variables on other tables, you must use a custom UI Macro/Formatter that renders the Variable Editor by referencing the parent RITM (as shown in the linked article).

 

Also refer this :

Can I put the Variable Editor on a new table extended from the Task table?

 

How to add Variable Editor (Formatter) on the Catalog Task page? 

 

Regards, 

Umesh

NaveenPaulJ
Tera Contributor

Hi,

I came across the same situation and found this video helpful: ServiceNow – Display Variables on Target Records

bonsai
Mega Sage

You cannot extend tasks.
This may violate the license.

You can't actually do this without extending tasks.

bonsai
Mega Sage

Extending the task table is not possible as it goes against the requirements.

Also, I tried the formatter that others mentioned, but it didn't work.