Skip to content

Commit

Permalink
updated JobHander UpgradeWorkitems to migrate $processid
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Jun 12, 2018
1 parent b131ca7 commit 8fabbd7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ private boolean upgradeWorkitem(ItemCollection workitem) {
workitem.replaceItemValue("$lasteditor", workitem.getItemValue("namcurrenteditor"));
bUpgrade = true;
}

if (!workitem.hasItem("$taskid")) {
workitem.replaceItemValue("$taskid", workitem.getItemValue("$processid"));
bUpgrade = true;
}

return bUpgrade;
}
Expand Down

0 comments on commit 8fabbd7

Please sign in to comment.