Dear Shibin,
Your requirement is feasible, but a little bit complex.
you need first to configure the query data, data source to read from an excel file on the windows drive.
let's say the data source is configured for : C:\Users\Laserfiche\Desktop\db.xlsx
now you need to save the excel file uploaded from forms in laserfiche.
now in the workflow you need to search for the entry uploaded from laserfiche forms and add the following script using the documentExporter Class, that can be used in the sample examples of laserfiche SDK.
dim docuexp as new DocumentExporter()
dim doc as DocumentInfo = new DocumentInfo(GetTokenValue("FindEntry_OutputEntry_ID"),RASession)
docuexp.ExportElecDoc(doc,"C:\Users\Laserfiche\Desktop\db temp.xlsx")
File.Copy("C:\Users\Laserfiche\Desktop\employee db temp.xlsx","C:\Users\Laserfiche\Desktop\db.xlsx",true)
File.Delete("C:\Users\Laserfiche\Desktop\db temp.xlsx")
the sequence of the workflow should be :
1- find the entry
2- export the entry using SDK script
3- query data on the datasource
4- for each row in datasource
5-populate multi value tokens
6- set business process activity in order to populate the form.
Hope it helps.
Maher.