Variable Editor does not display variables from a variable set in the correct order when submitted in ServicePortal

chrisp83
Kilo Expert

Hi All,

I have an issue which i'm going round in circles with and getting no where which is causing a bit of a problem at the moment.

I have a number of catalog items that a re configured with variable sets, once the catalog item is submitted and you go to view the record in the platform the variables are in a random order with in the variable editor. If i go to the same catalog item and submit it but this time through the platform and not the Service Portal the variables are in the correct order in variable editor in the record!

I've done a lot of digging and also found that when submitted through the Service Portal the variable answers (only for variable sets) in the question_answer table all have an order of -100

Has anyone else had this problem and if so how did you get around it?

Thanks,

Chris

1 ACCEPTED SOLUTION

Raju Koyagura
Tera Guru

I am not sure which version you are using however there is a bug in Istanbul version and it has been addressed in the later releases.


PRB701701Record producer in Service Portal places variables sets in different order in variable editor

View solution in original post

5 REPLIES 5

Raju Koyagura
Tera Guru

I am not sure which version you are using however there is a bug in Istanbul version and it has been addressed in the later releases.


PRB701701Record producer in Service Portal places variables sets in different order in variable editor

The SN Nerd
Giga Sage
Giga Sage

What version are you running on?


We had this problem and had to ditch using Variable Sets completely until it was fixed in later versions.



As a workaround, we used containers instead.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

chrisp83
Kilo Expert

Yep it was a bug! Logged a HI ticket and we were supplied with a fix.



There's a new problem since applying the fix though.... I'm hiding Variable Sets on the Record Producer using containers and then using a client script which disables mandatory fields that aren't visible. This worked fine before the fix was supplied but now the form gets stuck submitting, it looks like a problem with setting fields in the variable sets mandatory and not using UI Policies. I could be looking at a lot of rework!


Hi Chrisp,

Did you get it fixed? Could you kindly update about the solution?

Regards,
Priya