After migration, I cannot see the workflow history associated with the list item
-
14-12-2020 - |
Solution
Looks like this is a known issue which users have faced earlier.I was able to resolve this issue by running the below PS Script:
$url = 'http://SiteURL' #SiteURL where the list/library containing the workflow is created
$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 "NintexWorkflowHistory") #Replace NintexWorkflowHistory with the name of your workflow history list
{
foreach ($listItem in $list.Items)
{
$listItem.SystemUpdate($false)
Write-Host "Updating Items Done"
}
}
}
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange