The Delete Document node allows you to select a document and then completely remove it from a Knowledge Center or Folder, as well as the server file system. It is located under Appian Smart Services > Document Management in the Process Modeler palette.
You must be a System Administrator, a member of the Document Administrators group, a Knowledge Center Administrator, a Folder Administrator, or the person who uploaded the document in order to execute the activity.
Note: Attempting to complete this task without sufficient user rights generates an error message for the Process Administrator and pauses the process.
Category: Document Management
Icon:
Assignment Options: Attended/Unattended
This section contains tab configuration details specific to this smart service. For more information about common configurations see the Process Node Properties page.
The data tab displays the node inputs and outputs for the activity. You can add additional inputs and custom outputs, if needed. The default Document input is listed.
Input | Data Type | Required | Multiple |
---|---|---|---|
Document | Document | Yes | No |
If the activity is run without being assigned to a user (or a group) you must specify values for each of the node inputs listed. You can either manually enter data into the text-field, or a value can be generated 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.
The Delete Document smart service is available as an expression function that can be executed inside a saveInto on a component or as part of a Web API.
a!deleteDocument( document, onSuccess, onError )
Keyword | Type | Description |
---|---|---|
|
Document |
The document to delete. |
|
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 | 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 | |
Process Reports | Incompatible | You cannot use this function to configure a process report. |
Process Events | Incompatible | You cannot use this function to configure a process event node, such as a start event or timer event. |
Delete Document Smart Service