- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 08:06 AM
I think it would be better to fetch that file using a powershell script (if you prefer, loaded into the MID server) and have it running once a day/hour/minute, related to your needs.
Through this powershell script you could get the file and pass it to a ServiceNow instance using API (see docs here on how to post an attachment to a specific record: Attachment - POST ).
You can attach it to a record on sys_data_source table for example, and then create a Scheduled Import that load that specific data source right after your file has been attached to it.
It's quite a lot of "puzzle pieces" to put together, but it should work correctly. I don't suggest this method if you need to always check for that file every minute or second, but if it is once an hour it should be ok.
Regards
Simone