Create Directory activity

reference brazil Updated Sep 10, 2026 1 min read r_CreateDirectoryActivity.md
Raw file servicenow.com

The Create Directory activity creates a new directory on an SFTP server.

Input variables

Variable Description
sourceHost Name or IP address of the server containing the files you want to move.
sourcePort Port number to use to communicate with the source server. The default port number is 22.
sourceDirectory Path to the target directory to create.
sourceCredentialTag Specific Credential aliases for Orchestration activities this activity must use to run SSH commands on the host.

Output variables

Variable Description
errorMessage The executionResult.errorMessages from the Activity designer parsing sources. If this variable is not null, the operation has failed.
result Text message advising that the command was executed successfully.

Conditions

Variable Description
Success The activity succeeded in creating the directory.
Failure The activity failed to create the directory.

Parent Topic:SFTP File Transfer activity pack

Search documentation
Search document titles and file paths on the brazil branch