File Read activity
The File Read activity reads a file on a Linux or UNIX computer.
This activity replaces an SSH activity by the same name available in releases prior to Geneva. If you have a workflow created in a previous version that uses the deprecated activity, your workflow will continue to work normally after upgrading to Geneva. However, all new workflows must use the custom version of this activity. This activity was built with the SSH activity designer template, which gives workflow administrators the ability to store input and output variables in the databus.
To access this activity in the Workflow Editor, select the Custom tab, and then navigate to .
Input variables
| Input variable | Description |
|---|---|
| Hostname | Hostname or IP address of the destination server for SSH activity. |
| Directory | Name of the working directory. |
| File | The name of the file to read. |
Output variables
| Output variable | Description |
|---|---|
| contents | Content of the file to read. |
| result | Either success or failure. |
| errorMessage | The executionResult.errorMessages from the Activity designer parsing sources. |
Conditions
| Condition | Description |
|---|---|
| Success | Activity successfully read the contents of the specified file. |
| Failure | Activity could not read the contents of the specified file. |