I am trying to cancel all running and faulting workflow instances on a list item.
I used the 'Call web service' to workflow.asmx web service and I am using the method 'GetWorkflowHistoryForListItem' to get running and Faulting state workflow then get the workflow id instance and terminate workflow. I have to call the web service method twice with
stateFilter (SPWorkflowState) Running and another call with stateFilter (SPWorkflowState) Faulting
1- Is there a way to combine the stateFilter such as: Running | Faulting. I try to use 000001000010 - Running | Faulting and Running & Faulting but nothing worked.
2- Is there another way to cancel all workflow instances on a list item?