Using Multi Variable Loop action to be generate multiples files

More
2 years 3 months ago #23583 by Peter.Jonson
SourceChanged procedure forces creating new file

Basically when year changes the new file is created

>> Can I also assume this will work for CSV to CSV output as well? This is csv to xl

Yes, it will
 

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23585 by prashant
Interesting ! Sorting becomes critical then

The function remembers the previous value like accumulated string in memory without accumulating 

what does Result:='test';do ?

 

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23586 by Peter.Jonson
>>> what does Result:='test';do ?

The calculation has to return something otherwise it will fail  

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
2 years 3 months ago #23610 by prashant
To close this loop, 

Run Transformation
Get error to see only one file generated
Remember the file name is from variable <file_name>
Get Error again
Get angry , change format to xls and hope this work (get ready to complain csv is stepchild)
Get error again
Change library , go back to 016 and see file name is called {GetVariable('<file_name>')}
Run package get error again
Change library , save 016 ats in your library 
Load 016 ATS
Find in transformation the calculation field is supposed to be left hanging and not connected in output
Make Changes
Transformation works - Multiple files Output nice


Run another package using Loop function to send file 
Get error in package
Check variable names and keep headers with {} for easy detection
Run package error again
Check Loop and find forgot to check - Multiple Variables
Run package and mails are sent with attachments to relevant people

 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save