Directory Steps
  • 12 Jul 2022
  • 1 Minute to read
  • Dark
    Light

Directory Steps

  • Dark
    Light

Article Summary

Step Details

Introduced in Version3.0.0
Last Modified in Version8.0.0
LocationFile Management

Under File Management, some steps can manipulate the local File Directory used by Decisions. Steps found here, such as Create, Move, and Delete Directory depend on the Folder Permissions granted to the service account controlling Decisions. If the correct permissions have been granted, the steps will be able to perform without issue.

In addition, the steps that manipulate the directory require the absolute path. If the absolute path is not specified, the steps will limit its abilities to the Decisions Server Folder.


Create Directory

The Create Directory step creates a new folder directory at the given path. If no path is specified in the Directory Name input, the directory will be created within the Decisions Server directory.

Inputs

PropertyDescriptionData Type
Directory NameThe path including the name of the directory String

Outputs

PropertyDescriptionData Type
None------



Delete Directory

The Delete Directory step removes a folder directory given the path. If the path is not included in the Directory Name input, the step will limit to the Decisions Server directory.

Inputs

PropertyDescriptionData Type
Directory NameThe path including the name of the directoryString
Error if Not EmptyCauses the step to throw an error if the directory contains any filesBoolean

Outputs

PropertyDescriptionData Type
None------



Directory Exists

The Directory Exists step checks if a given directory exists by the path. If a matching directory is found, the step will return true.

Inputs

PropertyDescriptionData Type
Directory NameThe path including the name of the directoryString

Outputs

PropertyDescriptionData Type
None------



Move Directory

The Move Directory step updates the location for a folder directory. This step requires two paths, one to the original location and another to the new location, and the paths must include the same directory name.

Files stored in the directory will also be moved to the new location.

Inputs

PropertyDescriptionData Type
Directory NameThe path including the name of the directoryString
Move ToThe path for the new directory locationString
Overwrite if ExistsOverwrites the folder if it currently exists at the target locationBoolean

Outputs

PropertyDescriptionData Type
None------



Related Information

Forum Posts:


Was this article helpful?

What's Next