Exporting variables and variable sets from request item using export definition

Sachin Verma
Kilo Contributor

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 : 

{
"records": [
 {
       "request_item.cat_item": "87c068cfdb975c9cb9186033ca9619ba",
       "sc_item_option.value": "3c5939491b489898ac846287bc4bcb3f",
        "request_item": "edec52d3db9714dcb9186033ca9619bf",
        "sc_item_option": "25ecda13db9714dcb9186033ca9619a6",
       "sc_item_option.item_option_new": "fcea6f674f9ee600d2d797411310c71d",
         "request_item.state": "3",
         "__status": "success"
}
]}

My export definition is 

find_real_file.png
 
 
In the List view, the chosen "Fields*" are also not visible :
find_real_file.png

 
 
 
It appears that the UUID of variables are getting exported.
Please suggest how to get all required "Variables" and "Variable Sets" values exported.
7 REPLIES 7

sachin_namjoshi
Kilo Patron
Kilo Patron

Use below solution

 

How to Export all objects for catalog item

 

Regards,

Sachin

Hi Sachin,

The problem I am trying to solve is different from what you have suggested.
I need to export the content of requested item (the form that user submitted).

I am not looking for exporting the "Catalog Item" from one instance to other.

 

Regards,

Sachin

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sachin,

I could see most of the fields in screenshot as per Fields you configured in export definition

Regards
Ankur

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

Hi Ankur,

Thanks for the response.
If you click and expand the 1st screenshot (below My Export Definition), you should be able to see the complete content of the "Export Definition".

Please let me know if you need more details.

Sincerely, appreciate your help.

Regards,
Sachin Verma