When a Task contains more than one Action, it is possible to pass the data returned by an Action to some subsequent Action. Instead of using fixed / manual values, use Variable Wizard for filling in particular Action parameter field automatically.
When an Action is preceded by a File / Folder Action, Variable Wizard can automatically provide the following values:
|Last destination file||Returns destination filename with full path of last file that was processed by specified Action (e.g. if file is copied to another folder, variable contains file's new name and location).|
|Last source file||Returns source filename with full path of last file that was processed by specified Action (e.g. if file is copied to another folder, variable contains file's initial name and location).|
|List of affected (copied, renamed, etc.) files||Returns the list of destination filenames with full path of all files processed by specified Action (e.g. if upon some event all files in particular folder is copied to another location, variable contains a list of new names and locations).|
|List of source files||Returns the list of source filenames with full path of all files processed by specified Action.|
|List of source, destination files||Returns a list containing both initial file names with full path and new file names with full path.|
|Number of affected files||Returns a numeric value indicating how many files were processed by a File Action.|
|Action completion status||Returns text value containing completion status (i.e., "completed successfully" or "completed with errors") of specified Action.|
|File content||Returns contents retrieved when reading the file.|
|Number of bytes read / written||Returns numeric value that indicates number of bytes read / written by Write to File or Read from File Actions.|
|Last file||Returns file name with full path used in last execution of Write to File or Read from File Actions.|
If you have any questions, please do not hesitate to contact our support team.