Issues with "Save as draft" button in employee center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 09:02 AM
We have two list collector variables—List Collector 1 and List Collector 2—where the values in List Collector 2 are dependent on the selections made in List Collector 1.
After the user fills out the list collectors and saves the form as a draft, upon reopening the form, the values in List Collector 2 are not retained and are cleared, while the values in List Collector 1 preserved.
If anyone has any suggestions or insights, please let us know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 08:20 PM
Seems due to dependency the 2nd variable is getting cleared
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 09:21 PM
it's working for me in my instance when I opened the draft version
share your variable configuration
In the 2nd variable you should add this in variable attributes
ref_qual_elements=firstVariableName
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 12:19 AM
Hi @Ankur Bawiskar ,
Variable configuration:
List table - sys_choice
Reference qualifier - javascript:"name=cmn_location^element=Country^dependent_valueIN"+current.variables.firstVariable.getDisplayValue();
Also, I tried with "ref_qual_elements=firstVariableName" but no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 12:29 AM
what's your question here?
The post talks about save as draft feature but your comment is different.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader