Skip to main content
adamn696785
August 4, 2025
Solved

Importing Excel to Database

  • August 4, 2025
  • 6 replies
  • 0 views

Hello, I'm currently trying to use the import excel to database smart service within my process model and it's completing but not updating my data store entity.

Process model:
Start -> User form -> Import Excel to DB smart service -> End

The file that I input in the form is an excel file and gets saved, and I have also configured the smart service so that the data source is a constant that contains the text which is my datasource: "jdbc/{name}". Table name: {SQL database table name}", excel file: Process variable which is stored excel document. 

After configuring all of these as followed by a youtube video that showcased this smart service, the data is not saving.

I made sure that my column headers(A1,B1,C1) are exactly as stated within my CDT and matches the data type.

How would I fix this/do this differently?

Best answer by mikes0011

Is there any reason you can't use the Read Excel Sheet smart service and parse that manually into your CDT, then use a standard WTDS node only after you can confirm in your process that you have a valid data set waiting to be written?  This would have the added benefit of allowing you to micromanage your data mappings, do column-by-column data cleanup, etc.

6 replies

stefanhelzle0001
August 4, 2025

Do you see any error messages? This would really help a lot.

adamn696785
August 4, 2025

There are no errors. It just runs as if its processing the information.

I made sure the CDT had boxID(text), prodDescription(text), emptyWeight(Number Float), dimension(text)

harshas2775
August 4, 2025

Can you check in logs if some error is reported there? 

mikes0011
mikes0011Answer
Brainy
August 4, 2025

Is there any reason you can't use the Read Excel Sheet smart service and parse that manually into your CDT, then use a standard WTDS node only after you can confirm in your process that you have a valid data set waiting to be written?  This would have the added benefit of allowing you to micromanage your data mappings, do column-by-column data cleanup, etc.

adamn696785
August 4, 2025

Yep I have just use the write to data store entity after storing the information with readexcelpaging. So I no longer need this smart service