- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 07:29 AM
Hi
I am generating some test forms in the record producer of ServiceNow. I have been adding variables with no problems at all:
(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:
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:
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2018 01:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 07:46 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 08:37 AM
Change the order of the single variable to 100 and keep the variable set order 900.
Then it should work I tried.
Regards,
Kiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 08:40 AM