View Full Version: Filenames

LawsonTalk > BCI, Processflow and Addins > Filenames



Title: Filenames
Description: Deleting files based on date


ajmohrf - February 21, 2008 06:20 PM (GMT)
What I'm trying to do is pull all the filenames from a certain directory, and based upon their date stamp deleteing them. This directory is an archive directory, so after 2 months I want the file gone. To do this I created a FileAccess node to list the filenames in the directory, then I had a DataIterator parse out the individual files names and pull the date off the end of the filename. Once done I run a branch to see if the date is 60 days in the past.

The problem I'm running into, is when the DataIterator parses each filename separately, it tells me, "ReferenceError: "DataIterator1840_output" is not defined. (threadScript#1). My Input Method is Data - Input data is <!FileAccess2010_filenames> - parse by Delimiter String - delimiter string is a comma.

Am I trying to use these nodes incorrectly or am I missing something?


Thank you!




Hosted for free by InvisionFree