Customer Portal

ListFiles doubling explanation required.

Comments 1

  • Avatar
    Vladimir Barton
    0
    Comment actions Permalink
    Hi GavC,
    a simple change that would resolve the issue that you encountered is to remove the edge between the ExecuteScript component (called "Unzip") and the second ListFiles component and push the second ListFiles component to a later phase (for example, phase #1). The ListFiles component does not need any input token in order to list the files and send the records forward to the MoveFiles component. What seems to be happening in your graph is that 2 input tokens make the ListFile component perform the file listing twice, thus doubling up the results.
    I will be glad to provide you a deeper insight into the optimization of your jobflow and show you various other approaches that can be chosen but at this point, I believe it would be most beneficial if you provided me with the jobflow (the .jbf file) itself so that I can inspect the mapping in your components. Feel free to disguise or delete any sensitive information in regards to the SFTP server, such as URLs, usernames, passwords etc.
    Kind regards,

Please sign in to leave a comment.