IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Questions related to list-files in for-each step Options · View
myslad
Posted: Saturday, February 3, 2018 12:00:38 AM
Rank: Newbie

Joined: 10/19/2017
Posts: 9
Location: usa
Experts,

a)

Is it possible to provide multiple extensions in a single loop while processing a folder.

For example:

list-files('*.txt, *.log')

b) Can we create input job parameters and use it in list-files. If not, what are the alternatives.

example: IN_DIRECTORY = *.txt, *.log

and use it as a parameter to list-files

list-files('{IN_DIRECTORY}')

Thanks


myslad attached the following image(s):
list-files-3.PNG
list-files-2.PNG

K101
Posted: Monday, February 5, 2018 2:16:20 PM
Rank: Advanced Member

Joined: 2/27/2009
Posts: 558
If it doesn't work, then you could use list-files twice, then use the join function to join the two lists together.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.