Append Line
Adds a line to the end of a text file.
Behaviour
Risk: Medium · Idempotent: No · Safe to retry: No · Recovery: Not replayed after a crash
Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.appendLine
Properties#
Input#
Path#
Path · String · Required · Default: Not specified in package metadata
The full path of the text file to append to.
Line#
Line · String · Required · Default: Not specified in package metadata
The line to add. A line break is added after it; do not include one.
Encoding#
Encoding · String · Optional · Default: UTF-8
How the appended text is encoded; it must match the rest of the file. Empty means UTF-8.
Allowed values: UTF-8, Auto, UTF-8 BOM, UTF-16, UTF-16BE, UTF-32, ANSI, ASCII, Latin-1.
Create If Missing#
CreateIfMissing · Boolean · Optional · Default: True
Create the file when it is not there yet. When false, a missing file fails the step.
Output#
Full Path#
FullPath · String · Output
The full path of the file the line was added to.
Retry and risk#
This activity is not marked safe to retry: if it fails partway, check whether its work already happened before running it again. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.
Every activity also has the engine's common properties: Timeout and Continue On Error.
Related activities#
- Compress/Zip Files
- Copy File
- Copy Folder
- Create File
- Create Folder
- Delete File
- Delete Folder
- Extract/Unzip Files
Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: File System. Keywords: file, append, line, log, add.
Properties
Input
Output
Retry and risk
Related activities