I had an issue with workflow status page after migrating SharePoint 2007 -2013.The history is available in Workflow history list but it does not show in workflow status page.
Solution;
Just do a SystemUpdate() for all the items in workflow history list using powershell. This will resolve the issue.
[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”);
$data1 = Get-Content “F:\Tools\URLsJO.txt”
foreach ($line in $data1)
{
$url = $line;
$site = new-object microsoft.sharepoint.spsite($url);
Write-Host $site.allwebs.count
$web=$site.OpenWeb();
$spListColl = $web.Lists
foreach($list in $spListColl)
{
if($list.Title -eq “Workflow History”)
{
foreach ($listItem in $list.Items)
{
$listItem.SystemUpdate()
Write-Host “Updating Items Done”
}
}
}
}