Why are my Variable Not Saved in Catalog Task or Request Item?

kwenzel
Kilo Contributor

Hi,

I have a a variable defined on a catalog item which I want the fulfiller to be able to change later on in the workflow from the Request Item or Catalog Task screen.   I have two issues with the variable:

1.   The variable is defined as a yes/no variable, yet when shown in the variable editor, it display as a simple text box, not as a dropdown with Yes or No selections.

2.   When I go to change the item from "Yes" to "No" and save, my edits don't persist.

Here is a screen shot of the variable editor on the requested item:

Reqeust Item Variable Save.png

What could I be doing incorrectly?   Any hints are appreciated!

Thanks,

Kris.

18 REPLIES 18

In my situation, my choice being used contained "curly" brackets instead of normal double brackets. This kind of bracket come from document editors like MS Word. Changing the value to use normal double brackets fixed my issue.

“” = bad!

"" = good!

 

Thank you Shane, I'm afraid this is not my case. My problem is identical to the one posted by kwenzel, tring to reply to him...

 

Fabrizio Mainar
Kilo Explorer
Hi kwenzel, have you ever resolved this issue? Happening the same to me, only for requested item... 😞

Ola Gunnarsson1
Kilo Contributor

I found a HI Knowledge that saved my day on this issue

"There can be one of the two possibilities (or sometimes both) and both focuses on how your "sc_task" table's form layout is configured:

  • The form layout might have been configured to display the variable editor twice.
  • Or, you have a dot-walked field pulled up with name "Variables" and it will show in the form layout something like: "Requested Item.Variables"

As the variable is not being updated in both places, the value reverts to the original value."

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0686857