Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am pulling data from Database and storing it in Excel. Excel will then calculate formula and generate the formula results in new columns. Now i need to send the data of new column alone back to Database
Example:-
Employee Table-->tMap-->Excel (In this excel, the first 3 columns along with the result of FIRST NAME concats LAST NAME to last column FULL NAME will be present) -->tMap (to send only the FULL NAME column to DB table)-->Employee Table (Now, the EMPLOYEE table will be having a data in FULL NAME column)
I am finding difficult in 2nd tMap to send the value of formula output (FULL NAME column alone) to EMPLOYEE table.
Please suggest to achieve this..
@samisyed80,you should create file from DB that the any record updated or created in DB using procedure.in Talend job you can check for that file using tWaitforfile and if the file is avilable you can contionue your main logic.
@samisyed80,you can design in below way.
for fullname you below exp in tmap.
row1.FIRST NAME + row1.LAST NAME
Gotcha, i assume the output excel in 1st flow and the input excel in the second flow are same. Right?
Yes @samisyed80
Thanks Manohar.
One more query.
Whenever there's any update or new entry happened in the the mentioned Input DB table, then this job should automatically kick-start. How to do this?
@samisyed80,you should create file from DB that the any record updated or created in DB using procedure.in Talend job you can check for that file using tWaitforfile and if the file is avilable you can contionue your main logic.
Thanks Manohar. Appreciate it.
create a file in the sense? can u tell me the component name which i should use for the creation of file?
tWaitforfile is coming in the picture after the above process right?