- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2022 05:19 AM
Hi All,
We are having a requirement to export the csv file data using SFTP. A file from a third party will be placing a csv file in SFTP Server , we need to extract it and do some checks and load the needed parameters(fields) into the ServiceNow User table.
Could you please guide me how this can be achieved .?(exporting csv file). csv file contains 15 fields, out of these I need to pick 10 fields (ex: company name, manager name, manager id , etc) into the already existing user record in user table.
Please guide me any approaches.
Thanks in advance!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2022 08:33 PM
Hi,
you cannot specify the filter condition using data source of type sftp
you can only specify the file name
Let entire data come and based on your coalesce field it will either insert/update the fields.
If my response helped please mark it correct and close the thread so that it benefits future readers.
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
‎09-20-2022 08:33 PM
Hi,
you cannot specify the filter condition using data source of type sftp
you can only specify the file name
Let entire data come and based on your coalesce field it will either insert/update the fields.
If my response helped please mark it correct and close the thread so that it benefits future readers.
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
‎09-21-2022 09:37 PM
Any update to this?
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
‎09-20-2022 05:06 AM
Hello Renu,
You can create a data source with the SQL statement with query to pick the data created or updated after last run:
If you are selecting only specific field from Database then include the Datetime field from database in your query.
If my answer helped you in any way then please do mark it as helpful. If it answered your question then please mark it correct and helpful.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2022 05:47 AM