Hi ,
We have migrated all the sites to SharePoint online environment , We have to stop the SharePoint 2010 workflow instances using a PowerShell script
We are trying to use below CSOM code in powershell
Guid workflowInstanceGuid;
Guid.TryParse(listItem["WorkflowInstance"].ToString(), out workflowInstanceGuid);
interopService.CancelWorkflow(workflowInstanceGuid);
context.ExecuteQuery();
but i am not able to find the workflow instance guide for workflow 2010 workflow in SharePoint online
Please help use to find the accurate code or command so we can stop the 2010 WF
RJ Thorat