How can i read a csv file that is in a midserver folder via script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello,
I need to create a script so that daily I read a csv file that another application is creating inside a folder on my midserver every day.
Can someone give me an example of how I can read this file via script and parse this csv?
exempla of csv file

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
This is not a recommended solution to import CSV from MID Server to Instance.
There are options available. Refer "Attaching Files Directly using the Attachment API or MID Command Probes" from the below article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0817437
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Seems to be a question on a script to run on a Linux or Windows environment, to parse a csv file there.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
You can use PowerShell commands on Windows. Refer the below URL:
Palani