OverviewCopy link to clipboard
The Delete Folder node allows you to select a folder and then completely remove it from the system, along with its sub-folders. Only a System Administrator, Knowledge Center Administrator, or a Folder Administrator (such as the user who created the folder) can perform this task.
Caution: Attempting to complete this task without sufficient user rights generates an error message for the Process Administrator and pauses the process.
PropertiesCopy link to clipboard
-
Category: Document Management
-
Icon:
-
Assignment Options: Attended/Unattended
Configuration optionsCopy link to clipboard
This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.
Data tabCopy link to clipboard
This tab displays all the Node Inputs and Node Outputs for the Service Node. You can add additional inputs and outputs, if needed.
Node inputsCopy link to clipboard
The default inputs are:
Input | Data Type | Required | Multiple |
---|---|---|---|
Folder | Folder | Yes | No |
Delete Subfolders | Number | Yes | No |
If the node is run without being assigned to a user (or a group) you must specify values for each of the Node Inputs listed in the table above. You can either manually enter data into the text-field, or a value can be generated using the using the Expression Editor. When using the Expression Editor, you can reference and modify Process Variables, rules, constants, and other data. The expressions then specify your Node Input values.
If the node is assigned, the Node Input values are typed by your assigned user(s) into a form.
a!deleteFolder()Copy link to clipboard
The Delete Folder smart service is available as an expression function that can be executed inside a saveInto parameter on an interface component or as part of a Web API.
SyntaxCopy link to clipboard
a!deleteFolder( folder, deleteSubfolders, onSuccess, onError )
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Folder |
The folder to delete. |
|
Boolean |
If set to |
|
Any Type |
A list of saves or an HTTP response to execute after the smart service executes successfully. Created with |
|
Any Type |
A list of saves or an HTTP response to execute when the smart service does not execute successfully. Created with |
Feature compatibilityCopy link to clipboard
The table below lists this smart service function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Incompatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |
Process Autoscaling | Compatible |