Not saving the value entered in the variable editor

Ramel
Mega Guru

Hi All,

Has anyone encountered this issue where in the variable editor at the catalog task, whenever I entered a value and hit save or update the value entered is not getting saved?

find_real_file.png

Thanks in advance.

Ramel

9 REPLIES 9

Hi Ramel,

So values are not retained in those variables although they are editable when form is saved?

check below link; this should help you:

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

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks for this Ankur. I think we're getting close in resolving this issue. It is correct that when I tried to enter a value on the variables, they are not getting saved in the question_answer table. When I looked at the question_answer table for these 5 variables, they all have empty values.

I am using a record producer in the sc_request table and the tasks are created in sc_task. There is an OOB variable editor in the sc_task table but that does not seem to show all my variables in the sc_task. So what I did is I created another 'UI formatter' in the sc_task table and named it as Task Variable Editor with 'com_glideapp_questionset_default_question_editor' value. Then I use that add added int he form layout and that showed my variables in the task. I have already removed the OOB variable editor formatter. But still not retaining the value.

Maybe you still have some other ideas.

Thanks.

Hi Ramel,

Did you check the link shared in previous post?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes Ankur, as instructed, I followed the below:

1. Open a catalog task 
2. Open the context menu Configure > Form Layout 
3. Locate the section with the duplicate variable editor
4. Select Variable Editor in the right slush bucket and move it to left side 

However I do not have any duplicate variable editor. The one I created is the one that shows the variable which wont save the value. The OOB variable editor, does not show the my variables. No other variable editor listed.

seanb
Giga Contributor

Do one of the 5 variables have the same Name as the containing variable set's "Internal name" and are you on London?

https://community.servicenow.com/community?id=community_question&sys_id=daed3aeadbe9a7007d3e02d5ca96...

 

In the thread above, they are mainly concerned with variables losing values after submission from SP, but I had a similar problem to you when working from a catalog task and making the adjustment from that thread solved my problem.