ProcessFiles
Description:
-
Processes files.
Input Properties
path
Description:
-
Full path to the directory that is searched for files.
Required:
-
Yes
filter
Description:
-
Criteria by which the search for filenames is conducted. Specify this using portions of the filename or extension with asterisk wildcards.For example, *no*.xml searches for XML files having the string "no" in the filename.
Required:
-
Yes
processactionid
Description:
-
Action that processes the files.
Required:
-
Yes
processactionversionid
Description:
-
Version number of the Action.
Required:
-
Yes
failpath
Description:
-
Full path to the directory in which files are moved if they fail to be processed.
Required:
-
No
processpath
Description:
-
Full path to the directory in which files are moved during processing.
Required:
-
Yes
successpath
Description:
-
Full path to the directory in which files are moved if they are successfully processed.
Required:
-
No
synchronous
Description:
-
Determines if the Action processes files synchronously (Y) or asynchronously (N).
Required:
-
No
readfilecontent
Description:
-
Determines whether or not (Y/N) file content should be passed to the Action specified by processactionid.
Required:
-
No
filecontentpropertyid
Description:
-
Property that will hold the file content (defaults to filecontent).
Required:
-
No
readactionid
Description:
-
Action that reads the file content.
Required:
-
No
readactionversionid
Description:
-
Version of readactionid.
Required:
-
No
retainonsuccess
Description:
-
If successpath is not specified, the file is deleted unless retainonsuccess = Y.
Required:
-
No
retainonfailure
Description:
-
If failpath is not specified, the file is deleted unless retainonfailure = Y.
Required:
-
No
Additional Information
Additional information concerning this Action:
-
This Action searches directories specified by the "path" property for files matching patterns set by the "filter" property.
During processing, files are moved to a directory specified by the "processpath" property.
If "successpath" property is specified, successfully processed files are moved to a directory specified by that property. The file is deleted otherwise.
If "failpath" property is specified, files that fail to process are moved to a directory specified by that property. The file is deleted otherwise.
The action specified by the "processactionid" and "processactionversionid" properties is called (internally) to process the file.
Files are processed in ascending order of the 'lastmodified' date of the files in the directory, i.e., files created first are processed first.
Each file is processed as a separate, new transaction.
Can process files in synchronous or asynchronous manner, as set by the "synchronous" property.
Internally, this Action calls the Process File Action
Copyright © 1999-2016 LABVANTAGE Solutions, Inc.