Which workflow intance Id field should I use?
I have two kind of workflows in my project (associated with document in doclib and associated with basic list item in task list.
I have been told that "ows_WorkflowInstanceID" is only for documentlibrary workflows... Still I am getting same IDs from both of those field despite which workflow task I get that value from.
And I try to get those ID from workflow task itself...
Guid tempIdOWS = new Guid(item["ows_WorkflowInstanceID"].ToString()); Guid tempIdBuiltIn = new Guid(item[SPBuiltInFieldId.WorkflowInstanceID].ToString());
Thanks in advance