Copy Attachments To SFTP Server
Copies the specified attachments from ServiceNow instance to an SFTP server.
Fields
| Field | Description |
|---|---|
| Connections | |
| Connection | Type of connection to use to connect to the source SFTP server.
To learn more about connections and credentials, see Introduction to credentials, connections, and aliases. |
| Connection Alias | Connection & Credential alias record that the system uses to run the action step. Users with the flow_designer or admin role can create or select an associated Connection record. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using an action in multiple environments. Likewise, if the connection information changes, you don't need to update your custom action. To learn more about connections and credentials, see credentials, connections, and aliases. The credential value is displayed as a Password (2 Way Encrypted) data pill on the data panel. This field is available when Use Connection Alias is selected from the Connection list. |
| Credential Alias | Credential alias that the system uses to run the action step. Users with the flow_designer or admin role can create or select an associated Connection record. Using an alias
eliminates the need to configure multiple credentials when using an action in multiple environments. Likewise, if the credential information changes, you don't need to update your custom action. To learn more
about connections and credentials, see credentials, connections, and aliases.
The credential value is displayed as a Password (2 Way Encrypted) data pill on the data panel. This field is available when Define Connection Inline is selected from the Connection list. Note: The SFTP step requires a credential record that supports either SSH private key credentials or SSH credentials. This step does not support Windows credentials where the Use MID Server
service account option is selected. |
| Host | Name or IP address of the SFTP server to which the files you should be copied. This field is available when Define Connection Inline is selected from the Connection list. |
| Port | Port number to communicate with the server. This field is available when Define Connection Inline is selected from the Connection list. |
| MID Selection | Option to select a specific MID Server or MID Cluster. Choose any one of the following options.
|
| MID Server | Specific MID Server to run the SFTP step. This field is available when Specific MID Server is selected from the MID Selection list. |
| MID Cluster | Data pill for the MID Cluster you want to use. This field is available when Define Connection Inline is selected from the Source Connection list, and Specific MID Cluster is selected from the MID Selection list. |
| MID Application | Option to use a MID Server to run the SFTP step. This field is available when Define Connection Inline is selected from the Connection list and Auto-Select MID Server is selected from the MID Selection list. |
| Capabilities | Capability of the MID Server. Select SSH. This field is available when Define Connection Inline is selected from the Connection list and Auto-Select MID Server is selected from the MID Selection list. |
| MID Server | Data pill of the required MID Server. This field is available when Define Connection Inline is selected from the Connection list and Specific MID Server is selected from the MID Selection list. |
| Attachments to Copy | |
| Attachment Records | Records in your ServiceNow instance that you want to copy to SFTP server. |
| Copy to SFTP Target | |
| Target Path | Full path to the file in the target server you want to copy the contents. For example, /root/doc/. In this case, the attachments would be copied to this path on the server. |
| Retry Policy | |
| Enable Retry Policy | Option to enable the retry policy. For more information, see Retry policy. |
| Override Default Policy for Alias | Option to override the default retry policy. This option is not applicable when Define Connection Inline is selected from the Connection list. |
| Retry Policy | Default retry policy associated with Connection Alias. If Override Default Policy for Alias is selected, you can override the default retry policy and select another existing retry policy based on your requirement. |
Action error evaluation
- If this step fails
- Data type: Choice
Option to continue running the next step or go to error evaluation. To use the step status code or message for a custom action error condition, see Action error evaluation.