Not saving the value entered in the variable editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 11:10 PM
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?
Thanks in advance.
Ramel
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 11:41 PM
Hi Ramel,
Is this happening only for some variables or all on catalog task?
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 11:45 PM
Hi Ankur,
I have 5 variables that I made visible on the task and the behavior is happening to all variables. Actually it seems that the value is there as when I click back I can see what I have entered but its just when you open the task form, it is empty and its mark as mandatory again onload even if the task is closed. I don't understand the behavior.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 11:50 PM
Hi Ramel,
Any onload catalog client script which is clearing these fields? can you check that?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-09-2019 12:07 AM
No onload client script that clears the variables. I only created an onload client script to make these fields mandatory. But even if I have deactivated my client script, still these variables are getting cleared onload.