Removes a directory from the file system

Last published at: May 2nd, 2023

Description:

Removes a directory from the server

Inputs

  • directoryName – full path to the directory to remove

Returns

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

Usage:

Example:

Let’s build and execute the removedirectoryDef example.          

  • Create a new definition called “removedirectoryDef
  • Select the definition and click the “design” button
  • Drag a removedirectory step from the toolbox
  • Connect the dots between the start and removedirectory step

  • Click on the “removedirectory” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic

  • Save the workflow definition, create a workflow instance and execute. Step should remove directory from server.