Record Producer item order

williammorton
Tera Contributor

Hi

I am generating some test forms in the record producer of ServiceNow. I have been adding variables with no problems at all:

find_real_file.png

(Field names removed to anonymise the data)

On a colleague's advice, I spaced each data field 100 apart in case I need to input more fields later.

I am also using Variable Sets as there are 3 fields that appear on the top and one field at the bottom of the form. Therefore I set the first 3 as a single variable set with 100 as the Order value. this worked fine, but when I came to add the bottom value I first tried to add it as a variable which I had previously used, but found that the Edit button I needed to do this was not there:

find_real_file.png

Therefore I tried to create it as a variable set with a single field in it, which worked fine, but I tried to set it as Order value 900 to be below everything else:

find_real_file.png

However, when I saved it, it defaulted back to the value of 100.

Can somebody please:

A) Tell be how to save a variable so I can use it again

OR

B) Tell me how to set the variable set to have a higher Order value to make it appear at the bottom of the form

1 ACCEPTED SOLUTION

scott barnard1
Kilo Sage

If you go to the main record producer page and scroll down to the related lists and select variable sets tab



Click on the i icon next to your variable set and a little pop up box appears so you can change the order.



This changes the order for that record producer and not all the other items that use that variable set.



Not sure it's what you are after but it may help you in layout


View solution in original post

12 REPLIES 12

kiranhegde
Mega Expert

Hi William,



This is what   I found in ServiceNow Docs. Hope it will help in understanding the Ordering.



Variable set order

A variable set is a discrete unit with an order number by default. All variables within the set are included wherever the set is included.


For example, if you set the following order for some example variables and a variable set:


  • Variable A (100)
  • Variable B (200)
  • Variable C (300)
  • Variable Set 1 (250) - containing three variables (VS1, VS2, VS3) with incremental order values (150, 250, 350)

The variables are displayed in this order:


  • Variable A (100)
  • Variable B (200)
  • Variable Set 1 (250): Variable VS1 (150)
  • Variable Set 1 (250): Variable VS2 (250)
  • Variable Set 1 (250): Variable VS3 (350)
  • Variable C (300)


Variable set layout


Hi Kirana



Yes that is useful information, but unfortunately does not answer my question. There is only one variable in the second variable sent and it also has a value of 900.


find_real_file.png


Change the order of the single variable to 100 and keep the variable set order 900.



Then it should work I tried.



Regards,



Kiran


find_real_file.png






find_real_file.png