File Copy activity

The custom File Copy activity copies 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, 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 Custom Activities > Global > Orchestration - SSH.

Input variables

Table 1. File Copy input variables
Input variable Description
hostname Hostname or IP address of destination server for SSH activity.
directory Name of the working directory.
src_file Name of the source file.
dst_file The name of the destination file.

Output variables

Table 2. File Copy output variables
Output variable Description
result Either success or failure.

Conditions

Table 3. File Copy conditions
Condition Description
Success Activity successfully copied the file on the specified host.
Failure Activity failed to copy the file on the specified host.