- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2020 08:04 AM
I need to import a csv file from MID Server daily... Daily once the 3rd party will place a csv file in the MID Server...when ever they place I need to place that file in our MID Server...
Can anyone help me with this? I referred previous community questions but I didn't get complete clarity...so please help me to understand clearly
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2020 08:11 PM
Please find responses below
Question 1: Regarding First Script [Background Script ]
Should I run this in our instance is enough ? (or) should I login to Server in which MID Server is located and there I need to login to my developer instance and run?
- you should run this from your instance which is configured with the mid server
Question 2 : Regarding Business rule..
By this business rule..where my CSV file will get stored? It needs to attach to a import table in our instance
- you can attach it to the data source which you require to be transformed
- remember you need to trigger the transform as well once file gets attached to data source
Question 3 : This Process needs to run daily at certain time..
- create a schedule job which runs daily and uses the script shared above
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 06:57 AM
Thanks for your quick reply! I am not seeing any new records in the ecc_queue related to the import so I don't think the file is being imported. I do see nearly 1000 of the error messages above on each execution:
SOAP Msg Outbound - SOAPMessageClient : Exception initializing Soap Message functionAttachment Creator.insert Message: Unable to find SOAP Message Record with Name: Attachment Creator: no thrown error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 07:05 AM
then try to check that first
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 07:28 AM
I am new to SOAP messages. Does this mean I need to create one for Attachments? If so, what would be the name, WSDL, and is it okay to have this scoped or must it be global?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 08:51 AM
Okay I guess I missed a step in creating the ECC queue record. I was able to do that successfully. The output shows processed and input shows ready.
However, when I run the scheduled script, I am still getting the SOAP Msg error above. Not sure what that means or how I resolve that.
Thoughts?