Not applicable

GetWorkflowHistoryForListItem Web Service Call Not Returning Specific Workfow Instance

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>

0 Kudos
Reply
3 Replies
Not applicable

Re: GetWorkflowHistoryForListItem Web Service Call Not Returning Specific Workfow Instance

There seems to be a strong correlation between the Workflow Instance History records that are not returned and failures to load the Show Detailed View link from the Nintex Workflow Information page.

0 Kudos
Reply
aaron_labiosa
Novice

Re: GetWorkflowHistoryForListItem Web Service Call Not Returning Specific Workfow Instance

This could be some sort of timeout issue when querying the history of the workflow. How many items are in the history list the workflow in question utilizes?

0 Kudos
Reply
andrewg
Scout

Re: GetWorkflowHistoryForListItem Web Service Call Not Returning Specific Workfow Instance

Have you looked any further into this?

0 Kudos
Reply