cancel
Showing results for 
Search instead for 
Did you mean: 

listeners - move to trash

Eric_Ace
Confirmed Champ
Confirmed Champ

I am writing an event handler. In my testing, I have observed that when a document is moved to trash, the framework always appears to fire a lifecycle transition event AND a move event (move to trash). Therefore in the interests of efficiency my design ignores the lifecycle event and only processes the move event. Is this logic going to miss something? Thanks.

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

Putting a document in the trash changes its lifecycle state to "deleted" and renames it (a rename is a move) to "docname._1507482111971_.trashed" in order to avoid collision with the names of documents that are not in the trash. It's up to you what you consider relevant events for your application.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.