Cannot create variables in multi-row variable set

maronis
Mega Guru

Hi folks,

I try to create a mutli-row variable set and add variables to it to no avail.

The platform is updated to Madrid.

Here are the steps :

1. Service catalog > variable sets

2. Create a multi-row variable sets : fill in title, internal name...and Submit.

3. on variables tab, select New : fill in mandatory fields as Question, Name and hit Submit. I get the following error message: "Can not set 'Global' to true for variable in a Multi Row Variable Set"

find_real_file.png

Did anyone come across this issue?

Thank you for your help.

 

Maronis

1 ACCEPTED SOLUTION

maronis
Mega Guru

correction : 

- add Global field on the variable form

- upon inserting the single variable, make sure Global is set to False

-> the message wont appear and the variable is added to the multi-row variable set.

View solution in original post

11 REPLIES 11

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

this is NOT an issue, it's the OOTB and expected behavior of the platform.

Please refer to the following official documentation:

You cannot set Global as True for any variable that belongs to a multi-row variable set. So, a multi-row variable set is not available in catalog tasks.

https://docs.servicenow.com/bundle/newyork-it-service-management/page/product/service-catalog-manage...

Hope this answer to your question.

If I have answered your question, please mark my response as correct and/or helpful so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Updated the URL you (Alberto) provided and am including for readers of this discussion here:
https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/service-catalog-management/...

Mark Roethof
Tera Patron
Tera Patron

Hi there,

There's a business rule which validates if variables on MRVS have global=true. If so, you are getting this message.

We worked around this by displaying the global field on the variable form lay-out (the default value is true). This way we can uncheck it. It works, though doesn't really feel like a proper solution.

 

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

maronis
Mega Guru

Hi Albert, Mark,

 

thank you for your reply.

 

Albert, I already checked the documentation, it does mention the error message but only gives a shallow explanations. One should be able to add variables to Multi row variable set, I tried on a OOTB developer instance and it works fine - see my steps -

Mark, I cannot find where the error message "Can not set 'Global' to true for variable in a Multi Row Variable Set" is trigerred from. Do you have the BR name?

 

Best regards,

 

Maronis