- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 05:05 AM
The computer processing team needs to automate the process of inputting computer device data. As a ServiceNow developer, the objective is to create an automated solution to simplify this data entry process. This solution should handle dynamic data inputs, including new columns or fields that may be added over time, ensuring accuracy in data .
so basically whenever user is uploading an attachment in the catalog item, it should create records in the target table.
but if there are any new fields/columns it should automatically map it and add the new column data into the target table.
Is it even possible to do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 06:48 AM
No @Onkie
It's not possible because to create a field in ServiceNow, the data type is required. The system needs to know what type of data is needed for the field. Additionally, if someone adds a space at the end of a field name in an Excel sheet while creating a field, it will be treated as a new field, even though the field already exists. This can cause inconsistencies and errors.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 06:34 AM
@Onkie I don't think it is possible to automatically do both creation and mapping simultaneously as it might defeat the the purpose of data loading as pre-requisite is you know which field is mapped to what incoming field.
Mark my response as helpful if it helped clear your doubt.
Thank you,
Mahesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 06:48 AM
No @Onkie
It's not possible because to create a field in ServiceNow, the data type is required. The system needs to know what type of data is needed for the field. Additionally, if someone adds a space at the end of a field name in an Excel sheet while creating a field, it will be treated as a new field, even though the field already exists. This can cause inconsistencies and errors.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2025 07:15 AM
adding fields via script is not recommended and not a best practice.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 03:16 AM
Thank you for marking my response as helpful.
As per new community features you can mark multiple responses as correct.
If my response helped please mark it correct as well so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader