Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: the1donWe are running two env currently. 4.6 and 6.1.
Every 15 minutes I have a random number of records as input. There could be zero records to currently the max has been 20 records. The records are one column which is a number.
Example input
Account
306759
452109
1023410
I take each number and run three database queries.
select field1, field2, field3, filed4
from account
where account = :1
select loc1, loc2, loc3 loc4
from location
where account = :1
select cust1, cust2, cust3, cust4
from customer
where account = :1
I want to create a different Excel spreadsheet for each account (Excel_306759, Excel_452109, Excel_1023410) and each spreadsheet would have 3 tabs: account, location and customer.
If I take one record I can use the Excel node which allows me to create the 3 tabs but I can't figure out how loop through the records to create a different Excel spreadsheet dynamically. Since the account numbers will be different each time and the number of accounts could be different each time.
Any thoughts would be appreciated.
Thank you
Don