Four Stars

[resolved] tFileList: Order Action

is there a way to change the order action on a tFileList. I have a situation where I need to iterate the files twice, once in ascending order and once in descending order. I would prefer not to use the component twice. Is there a way to set the order action dynamically?

Re: [resolved] tFileList: Order Action

So far, Order Action is designed by radio box which cannot be given variable vaule or context. An workaround is to create two different subjobs both starts with tFileList, one tFileList is set to order by ASC, another tFileList is set to order by DESC, parse the context variable  and trigger the subjob based on the value of context variable with runIf link, for example:
Best regards
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.