Export Set — Target Path outside MID server path

rgu
Tera Contributor

When setting the target path of an export set, the root of the file path is the "export" folder of the MID server software hierarchy. For example, D:\ServiceNow\prod_midserver\export.

What solutions do you employ for directly telling an export set to place (or copy) the file to a location outside of the MID server software hierarchy? For example, D:\Dropbox.

I do not want to have to rely on a batch file and Windows scheduled task to move/copy files after the fact.

I found this post, but it concerns FTPing the file. I was not sure how to modify it to a file copy.

https://community.servicenow.com/community/blogs/blog/2016/11/22/using-export-sets-transfer-using-sf...

I also found this previous post on the topic, but the person that answered it did not fully understand the question.

https://community.servicenow.com/thread/293571

Thanks for your time.

13 REPLIES 13

Moon1
Giga Contributor

Teja,

In my testing, I did not give any permission setting user agent/export folder on MID server manually.

The folder of the Export Set (output, in your case 'test') was automatically created based on outPath on ServiceNow - ExportSet configuration.

I would check if your your MID server connection is correctly working, and if then, I would check the sysLog table after click 'Load 20 Export set data?' link on ServiceNow - Export Set..

AFtter I tested that a folder and file was created, and set up Scheduled Export Set.

Basically, after MID server set up works, I don't need to do any more manual setting on MID server itself for Export Set feature except setting on ServiceNow - ExportSet in my case.

If I were you, here is my  trial:

1) Check system log after clicking a link to export manually on Export Set

2) Open Fiddler to see, what credential really sent a request to the MID server to see who request to save the file.

3) To filter out it is credential issue to write file, I would give EveryOne to write permission to test under [MID server]/agent/exports too

That is the step I try.

 

Moon1

 

Teja31
Kilo Contributor

Thanks for your response!!

 

I could see the below message in the logs immediately after test export 20 records.

 

Did not find content in CDN for sys_export_set-normal.

 

Do you know what exactly it mean!

 

 

Thanks,

Teja

Raffy
Tera Contributor

Teja,

 

I am sorry to give any more direction since I am very new on ServiceNow (only one month to use it).

My first post on the forum is https://community.servicenow.com/community?id=community_question&sys_id=ae9993afdbe99b003882fb651f9619b2 related with this topic.

I have two developer accounts( Raffy and Moon1).

BTW, a quick search for 'Did not find content in CDN for sys_export_set-normal.' on google turns out few links but not direct answer.

One of them is https://docs.servicenow.com/bundle/kingston-platform-user-interface/page/build/help-guided-tours/concept/embedded-help.html, which unfortunately does not tell you what you are looking for.

Wish any expert of ServiceNow can help you out.

Moon 1 

Teja31
Kilo Contributor

Np. Thanks for your time !!

 

 

Teja

Sakshi14
Giga Expert

Hi Rgu,

Were you able to find a solution/workaround for this? We'd like to put the file exported from ServiceNow to a folder in D:/ and are struggling to set that as the file path directly.

Any help would be greatly appreciated! 

Thanks!