views:

917

answers:

2

I am testing a couple of workflows for their workflow history cleanup time intervals. The workflow History needs to be retained for a specific number of days. I have implemented the solutions recommended here

My problem is that, now I need to test my code to see if the workflow history is getting cleaned up after the exact number of days.

I came to know that the workflow history is cleanep up by a timer job called "Workflow Auto Cleanup" which runs daily.

But in my case, the workflow History cleanup does not seem to run, because, in "Central Administration > Operations > Timer Job Definitions > Edit Timer Job" , the last run time is shown as "N\A"

Is there anything I am missing here? What should I do to make this timer job run properly?

Update: Checking the SharePoint logs gives this message: "Upgrade job definition already exists, waiting for the existing upgrade to complete"

A: 

Got the answer from MSDN.

There is a hotfix for this issue.

ashwnacharya