Skip to main content
sivasuryap0002
October 6, 2022
Question

Documents

  • October 6, 2022
  • 10 replies
  • 0 views

Hi All,

How to know if anyone/who deleted the documents from folder in appian ?
Will it be recorded in any logs?
if yes then How can I check.

Thanks in Advance

10 replies

stefanhelzle0001
Brainy
October 6, 2022

In my applications no user can delete any file outside a process model which writes to an audit trail.

Can you explain your use case in more details?

sivasuryap0002
October 6, 2022

Hi [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05],
Here ,My use case is, whenever a user uploads a document, it will be saved in a folder (as expected) and the doc id will be written to a db  table.
Now when I am trying to retrieve those docs by docid (which will be passed by querying the db table) , I am getting an error "Document doesn't exist or deleted". 

Now I want to understand if anyone manually deleted those documents (mistakenly) from Folder .
As when I checked the documents in folder they were not present.

abhishekm0007
October 6, 2022

You can goto deletion.log in System logs. I have seen the logs captured by user deletion. However i'm not sure if the log would capture from process deletions.

Sample: 

com.appiancorp.common.logging.DeleteLogger - Successful deletion of objects: id=<id>; types=Document; names=[<DocName>]; deleted by user=[<User>]
October 21, 2022
[deleted]
mikes0011
Brainy
October 21, 2022

The Expression Guru