createDirectory Step

Last published at: July 27th, 2024

Description:

Create a new directory on the server.

Inputs

  • parentDirectory – full path to the parent directory on the server
  • newDirectoryName – name of the new directory name

Returns

  • True – step executed successfully
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the createDirectoryDef example.           

  • Create a new definition called “createDirectoryDef”
  • Select the definition and click the “design” button
  • Drag and connect the "createDirectory" step to the canvas as shown in the above graphic
  • Click on the "createDirectory" step to configure its properties as shown on the below graphic

  • Save the process definition. Create a new process instance and execute. The process step should create a new directory on the server.