Export set - MID Server creates "export" folder in a strange folder structure

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 04:39 AM
Dear experts,
During an exercise with the Export sets, we found that the files are getting exported, but the "export" folder sits within a strange folder structure. Please take a look at this path and kindly advise, why this is so.
C:\ServiceNow MidServer Dev\mid.rome-06-23-2021__patch1-08-26-2021_09-06-2021_0849.windows.x86-64\agent\export\
But we had set the File path to be as follows:
Why does the export folder then sit in the "mid.rome...." folder instead?
Which configuration is being read in ServiceNow at the backend to create the "mid.rome...." folder in the target MID Server Windows system? Is there any property? If yes, which backend script invokes that property?
During our discussions, I was also told that the File path configured is a relative path and the root path is configured at the backend somewhere else. If yes, where is it?
Regards,
Anish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 04:54 AM
Hi,
This looks like a standard MID server setup installation path.
Only thing is, it has been upgraded multiple times, all the way from the Rome-version, where it was first installed.
The path is set when you install the MID server agent on the MID server the first time.
If not changed, it's folder structure exactly as described in your question. That's the default value, and has been for quite a while.
If you need to change this, then you need to uninstall the MID server agent, and install again from scratch.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 05:18 AM
But why is it that the path mentioned in the "File path" (screenshot in the question) and the actual path where files are exported are not the same? I also could make out that the "mid.rome..." value comes in from a field labelled Home directory in the MID Server record.
Thanks,
Anish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:52 PM
The file path is always relative to the base path where the agent is installed.
The MID server agent cannot access other file paths, except those that are subdirectories of the base install path.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2024 02:30 AM
Can you please explain it with File path example? I just wanted to understand this once and for all. That's why.
Many thanks for responding.