To get TaskID's Integer ID value from the GUID in SharePoint workflow

list.GetItemByUniqueId(guid).ID

int itemID = spList.Items[new Guid("")].ID;
原文地址:https://www.cnblogs.com/zyip/p/3358904.html