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
Property
Description
Data Type
Directory Name
The path including the name of the directory
String
Outputs
Property
Description
Data 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
Property
Description
Data Type
Directory Name
The path including the name of the directory
String
Error if Not Empty
Causes the step to throw an error if the directory contains any files
Boolean
Outputs
Property
Description
Data 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
Property
Description
Data Type
Directory Name
The path including the name of the directory
String
Outputs
Property
Description
Data 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
Property
Description
Data Type
Directory Name
The path including the name of the directory
String
Move To
The path for the new directory location
String
Overwrite if Exists
Overwrites the folder if it currently exists at the target location