AnsweredAssumed Answered

GetWorkflowHistoryForListItem Web Service Call Not Returning Specific Workfow Instance

Question asked by michael.watson on Aug 27, 2014
Latest reply on Aug 3, 2015 by andrewg@intellinet.com

I am using a GetWorkflowHistoryForListItem Call Web Service action to identify if there are previous versions of the workflow running on a specific item. Even when using a StateFilter of "All", the web service call does not return any information on one specific workflow instance. All other workflow instances are returned correctly.

 

Below is the example of the SOAP request:

 

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://nintex.com">

  <soap:Header>

  </soap:Header>

  <soap:Body>

    <m:GetWorkflowHistoryForListItem>

      <m:itemId>{ItemProperty:ID}</m:itemId>

      <m:listName>{Common:ListName}</m:listName>

      <m:stateFilter>All</m:stateFilter>

      <m:workflowNameFilter>{WFConstant:ShutdownRequestMasterWorkflowName}</m:workflowNameFilter>

    </m:GetWorkflowHistoryForListItem>

  </soap:Body>

</soap:Envelope>

Outcomes