File Operations

Copy File

Purpose Copies one or more files from one folder to another. Usage When this node is reached, in an executing workflow, the node attempts to copy a file from an originating location in your customer area on paygate to a destination location, also in your customer area. Once copied the workflow continues down the ‘continue’ path to the next node. If there are any errors during the copy process then the workflow will also flow down the error path. »

Move File

Purpose Moves one or more files from one folder to another. Usage When this node is reached, in an executing workflow, the node attempts to move a file from an originating location in your customer area on paygate to a destination location, also in your customer area. Once moved the workflow continues down the ‘continue’ path to the next node. If there are any errors during the move process then the workflow will also flow down the error path. »

Move Some Files

Purpose Moves a batch of files from one folder to another. Usage There are times when you have a large number of files, in a folder, to process but you want to process them in batches. Say you have a folder containing 5000 files but you only want to process 50 at a time. Each time the workflow is run, 50 files will be moved to, say, a processing folder. »

Rename File

Purpose Renames a file. Usage This workflow node renames an existing file to a new name. Configuration Old Filename The name of the file that will be renamed. New Filename The new name of the file. Path The logical path to the file from the root of your customer folder on paygate. You can use the folder browser functionality to set the path if required. »

Delete File

Purpose Deletes a file. Usage This workflow node deletes a file from paygate. Configuration Filename The name of the file that will be deleted. Folder The logical path to the file from the root of your customer folder on paygate. You can use the folder browser functionality to set the path if required. The File Delete node permanently deletes files from the paygate file system. File recovery is not possible once a file has been deleted. »

File Splitter

Purpose Splits a file into two or more new files based on various rules. At runtime the node loads a file and reads it line by line. One or more rules are run against the data items in each row and the rows are split from the file depending on whether the rule results in a true or false condition. For example you can have a rule that acts on the amount field in a file. »

File Joiner

Purpose Joins two or more files together with an optional custom separator, creating a new file in the process. Configuration Input folder The base PayGate folder that contains the files to be joined. Input Filename A wildcard pattern matching the files that you wish to be joined together. When the workflow is run, paygate will search the ‘Input Folder’ path for all files match the pattern. All matching files will be added to the ‘joined’ file. »