IO activity group
Append to a file
This activity attaches a user-specified string to the end of a file.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
fsPath |
Text or Field |
Target file to which text will be added
|
Text |
Text or Field |
Text to be appended to the target file
|
Output | |||
---|---|---|---|
Output Field |
Text path - the path of the text file that was appended |
Field Prefix |
Blank |
You can edit the content of the Output Field and Field Prefix to differentiate the output of this activity from other activities. |
Copy File
This activity makes a copy of a file.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
bOverwrite Existing |
Text |
Indicates whether an existing file is allowed to be overwritten. This is a Text-only option. Click the Value field. In the OptionForm window, select Y or N. |
dDestination Directory |
Text or Field |
Destination folder for the copied file
|
foSource File |
Text or Field |
Original file to be copied
|
fsDestination File |
Text or Field |
Name and location of the copied file
|
Output | |||
---|---|---|---|
Output Field |
Copied File - path to the copied file, or "Failed" if the copy was not successful |
Field Prefix |
Blank |
|
Create file
This activity creates a text file with user-defined text.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
Text |
Text or Field |
|
Output | |||
---|---|---|---|
Output Field |
Text path - the path of the text file that was created |
Field Prefix |
Blank |
|
File exists
This activity tests whether a particular file exists.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
foFile |
Text or Field |
Name of the file to be checked
|
Output | |||
---|---|---|---|
Output Field |
Evaluator (Yes and No) - does the file exist? |
Field Prefix |
None |
Get line from file
This activity retrieves a line from a text file.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
foFileName |
Text or Field |
File from which a line will be retrieved
|
Line Number |
Text or Field |
Number of the line to be retrieved
|
Output | |||
---|---|---|---|
Output Field |
Line from file - the line from the text file |
Field Prefix |
Blank |
Get number of lines from file
This activity reports the number of lines in a text file.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
foFileName |
Text or Field |
File name
|
Output | |||
---|---|---|---|
Output Field |
Number of lines - the number of lines in the text file |
Field Prefix |
Blank |
Move file
This activity moves a file to a different folder.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
bOverwrite Existing |
Text |
Indicates whether an existing file can be overwritten. This is a Text-only option. Click the Value field. In the OptionForm window, select Y or N. |
dDestination Directory |
Text or Field |
New file location
|
foSource File |
Text or Field |
Name of the file to be moved
|
Output | |||
---|---|---|---|
Output Field |
Move Success - path to the moved file, or "Failed" if the move was not successful |
Field Prefix |
Blank |
Pattern match
This activity tests whether a particular string matches a pattern.
Options | ||
---|---|---|
Field Name |
Field Type |
Value |
InputString |
Text or Field |
String to be compared to the pattern
|
Pattern |
Text or Field |
Pattern to compare the string to. The pattern can be any combination of letters and numbers.
|
Output | |||
---|---|---|---|
Output Field |
Evaluator (Yes or No) - does the string match the pattern? |
Field Prefix |
None |