+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Performing action on document unpublish

Performing action on document unpublish

2 posts, 0 answered
  1. Anthony
    Anthony avatar
    11 posts
    Registered:
    05 Mar 2015
    05 Mar 2015
    Link to this post

    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

  2. Anthony
    Anthony avatar
    11 posts
    Registered:
    05 Mar 2015
    10 Mar 2015
    Link to this post
    Any suggestions?
2 posts, 0 answered