Delete RIS document
rillsoft_document_ris_deleteDeletes a document by ID from the open project's document management in Rillsoft Integration Server. Soft delete takes effect at once with no undo; missing documents return ris_not_found.
Instructions
Deletes one document of the open project from the document management of the Rillsoft Integration Server - the 'Delete' button of the documents page. The server deactivates it (soft delete; an administrator can restore it there). Takes effect at once: no undo step, the project itself is not marked as changed. A document that is already gone answers ris_not_found. rillsoft_document_ris_create is the counterpart. Runs with the login of the desktop session; needs the delete role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | id of the document, from rillsoft_document_ris_list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | hints of the product path; missing when there were none | |
| deleted | Yes | always true - a failure is an error, not a false | |
| remaining | Yes | documents still hanging on the same element | |
| documentId | Yes | id of the document that was deleted |