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. Tokens Special tokens can be used in path and filename fields to allow them to be dynamically named. »
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. »
File Generator
Purpose Generates a simple text file in the customer’s Paygate file area. Configuration Folder The base PayGate folder that contains the files to be joined. Input Filename The filename of the generated file. Randomise the content each time the file is generated If enabled, the workflow will fill the file with random text. Any system monitoring files such as Paygate Agent or a File Watcher Trigger, will see the file as a new file each time it is generated, even if the filename stay the same. »
Create Folder
Purpose Creates a new folder in the customer folder. Usage This workflow node creates a new folder/directory in the customer folder in the Paygate cloud environment. Configuration Folder Name The name of the file that will be deleted. Tokens Special tokens can be used in this field to allow the folder to be dynamically named. For example: MyReports21-09-2025 Token Meaning Example {dd} Current Day number 12 {MM} Current Month Number 03 {yy} Current Year (2d) 25 {yyyy} Current year (4d) 2025 {hh} Current Hour (24hr) 07 {mm} Current Minute 45 {ss} Current Second 22 {SSS} Current Millisecond 123 For example, at the time of writing: myfolder{hh}{mm}{ss} »