how to a add record producer variable to the list view

Servicenow_12
Tera Contributor

Hello Team,

I have a variable (grayed out) on a record  which has been created via a record producer. I want to add that variable to the table list view.

Could you please me with a way to achieve this.

 

Thank you!!

Pravallika

 

 

 

 

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi @Pravallika 

Please find the steps below to achieve this requirement:

1) Navigate to "View" module and create a new view as shown below:

find_real_file.png

Now Create a new View say call it as "Variable View" as shown below:

find_real_file.png

Save the form and scroll down to Related List named as "List" and click on New button and select the table against which you want to make this new View for. I have done ir for Requested Item Table , you select your Table Name here:

find_real_file.png

Click on New under Related List named as "List Elements" as shown below:

Note : For adding the variable, type in "variables.SYS_ID of the Variable":

find_real_file.png

Now if you want this to be done for just one Record Producer, where these variables need to be displayed, then I would suggest create a separate module and configure the same as below which will show these variables only for those Item you want and not to all the users unless they select it:

Module will look like below:

find_real_file.png

Result:

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

I don't think there is a direct way to show just like dot walking etc

Regards
Ankur

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

shloke04
Kilo Patron

Hi @Pravallika 

Please find the steps below to achieve this requirement:

1) Navigate to "View" module and create a new view as shown below:

find_real_file.png

Now Create a new View say call it as "Variable View" as shown below:

find_real_file.png

Save the form and scroll down to Related List named as "List" and click on New button and select the table against which you want to make this new View for. I have done ir for Requested Item Table , you select your Table Name here:

find_real_file.png

Click on New under Related List named as "List Elements" as shown below:

Note : For adding the variable, type in "variables.SYS_ID of the Variable":

find_real_file.png

Now if you want this to be done for just one Record Producer, where these variables need to be displayed, then I would suggest create a separate module and configure the same as below which will show these variables only for those Item you want and not to all the users unless they select it:

Module will look like below:

find_real_file.png

Result:

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

@shloke04 This is a great solution thank you 🙂

Would you have any ideas why I can see the variables without any issue (I'm an Admin) and my ITIL users cannot see them at all, obviously using the right view. 

I put no restrictions on the view at all. 

They can see the fields available in the column cog, but they don't show at all in the list view.

So this is what the ITIL user gets:

Bidduam_0-1698380804261.png

 

Bidduam_1-1698380833495.png

Then this is what I get, even though the settings are exactly the same as is the selected view

Please Note - these are NOT the impact and urgency fields ootb on the incident form, they are variables as we get what the customer thinks, before updating them in the ootb fields if we agree.

 

Bidduam_2-1698380885884.png

Bidduam_3-1698380996114.png