Arif Gazi

Arif Gazi

  • NA
  • 1
  • 860

Custom Expiration Policy not working

May 26 2015 9:23 AM

I have a custom expiration policy built on my sharepoint 2013 environment.

When i try to debug my code with VS, and add an item in my document library, i am able to get a hit on my code in debugging mode.

However the triggering happens when i add an item into my doc lib, while the same triggering should have been done by my two jobs.(Expiration and information Policy).

Also, Even if my 'ComputeExpireDate' function returns 'datetime.now' in debugging mode, my item doesn't seem to expire after that(Move to recycle bin).

Can someone please help. The same code was working a month ago.


Answers (1)