SPListItem.EnsureWorkflowInformation method
SharePoint 2013
Checks the item's workflow information and, if necessary, updates it to ensure that the most current information is used.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
This method calls the EnsureWorkflowInformation(Boolean, Boolean) method with both parameters set to true to ensure the most current workflow information is used.