Performing action on document unpublish

Posted by Community Admin on 04-Aug-2018 16:37

Performing action on document unpublish

All Replies

Posted by Community Admin on 05-Mar-2015 00:00

Hello all. I need to implement the following functionality and could use some suggestions.

 When a document gets unpublished (either manually or through scheduled expiration) the document either needs to be deleted or moved to another folder depending on some checkbox properties of that document.

 So far I have managed to implement this functionality by implementing a custom workflow for the AnyMediaContentApprovalWorkflow.xamlx. However my CodeActivity only seems to fire when the user manually publishes or unpublishes a document using the buttons, but not when the document is unpublished automatically due to the expiration date.

 Any suggestions on how to hook into the scheduling of the automatic unpublish of the document in order to implement this logic?

 

Thanks

Posted by Community Admin on 10-Mar-2015 00:00

Any suggestions?

This thread is closed