Rename file from content of an xml

More
2 years 2 months ago #23832 by downing
Ha, how cool is that!

Many thanks Mike

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

More
2 years 2 months ago #23840 by downing
Hello Mike,

There is the rare case that the xml is already here but the pdf is ready a few seconds later.
How would you intercept this?

Greetings
Thomas

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

More
2 years 2 months ago #23843 by admin
I would add a pause action and wait for several seconds

Mike
ETL Architect

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

More
2 years 2 months ago #23846 by downing
If the files come via an FTP (e.g. every 10 minutes), doesn't the pause do me any good?
Or do I understand this wrong?

Would I not have to do an error routine in my case if it does not find a pdf when renaming and then just take the next xml?

Greets
Thomas

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

More
2 years 2 months ago - 1 year 1 month ago #23848 by admin
When we created an example for you we assumed that both files always present.

Since you have different requirements now the better approach would be

Create list of xml files in directory
www.etl-tools.com/wiki/advanced-etl-proc...le-operation-action/
Loop over the list of files
www.etl-tools.com/wiki/advanced-etl-proc...actions/loop-action/
If something fails move to the next iteration of the loop 

 

Mike
ETL Architect
Last edit: 1 year 1 month ago by admin.

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

More
2 years 2 months ago #23854 by downing
Thanks for the input.

It works great with this setup.



Now I'm trying to get the "FTP Event Monitor" up and running 
Greets
Thomas
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