Removes a file from the file system

Last published at: April 26th, 2021

Description:

Remove a file from the server

Inputs

  • filePath – full path to the file on the server

Returns

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

Usage:

Example:

Let’s build and execute the removeFileDef example.          

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

  • Click on the “removeFile” 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 file from server.