Exporting variables and variable sets from request item using export definition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 09:40 AM
Hi,
I am trying to export the request item data using export set, export definition and scheduled export.
Followed this thread https://community.servicenow.com/community?id=community_question&sys_id=38348729dbd8dbc01dcaf3231f961913&view_source=searchResult
But still I am not able to export the variables and variable set.
The exported data looks like :
My export definition is
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:16 PM
Hi,
I could see in screenshot for Fields you have added 6 fields
the same fields are seen in 2nd screenshot
correct me if I am wrong
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
10-14-2020 12:48 AM
Hi Ankur,
I am now able to export the variables supplied by user (like multi-line text and select-box),
But I am not able to export the data from "Variable Set" and "reference variables".
When I try to export only sysid is exported, not the the "Display Value".
Sample output :
Reference data variable (Group name) comes from custom table:
Variable Set data variable (Approving Manager) :
Can you please suggest if it is even possible to export "Variable Set" and "reference variables" data using Export definition?
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2020 09:56 PM
Hi Sachin,
you cannot export display value for reference variable or list variable as that is not stored directly in that Variable Ownership table
the values stores are only sys_ids
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader