Load Data from Attachment (Catalog Item) to a Target Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 04:11 PM
Hi ServiceNow Community,
I'm looking for a solution to import data provided in a Excel file in a Catalog Item into a Target Table.
I was following this article published by
Data load and transform via Catalog Item - Developer Community - Blog - ServiceNow Community
Do you know any other method to populate a table using a Excel provided in a Form?
I really appreciate any help.
Regards,
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 07:56 AM
I did that. The system was asking me to create an index. I said OK, but not sure if that is fine.
This is the pop message I got when change the coalesce field to true for the field
After I did that, I tried to import the Excel and got the same issue. I have 5 records for the same and just one entry in the template. Any ideas? May be that is an issue in the Workflow? I can shared that if necessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 08:45 PM
Hi,
Glad to know that my blog helped you.
Are you setting correct unique field as Coalesce=True
If match for coalesce field is found it would update; if not found then it would insert
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
05-10-2022 01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2022 09:44 PM
Hi,
share your field map and ensure you set 1 field as Coalesce=true
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
05-11-2022 07:51 AM
Ankur,
I set up one field as coalesce to true but I'm still getting the issue. Do you think that this can be an issue in the Workflow?
In the Workflow the script you shared for copying the date didn't work for me. I found that another person posted a different script and that worked.
Any suggestions?