Showing results for 
Search instead for 
Did you mean: 
Nintex Newbie

Get All Outstanding Tasks

Hello All,

I'm thinking of setting up a site workflow to email people who have outstanding workflow tasks (like a reminder, but for all workflows).

My first thought was to use the NintexWorkflow web service and the GetRunningWorkflowTasksCollection method. This returns XML containing the data I need. Maybe there's a better way, but this seemed reasonable to me.

Now I need to process the data to send each person and email with details of their tasks. I've added a Query XML action to extract the data, but I'm having trouble with the XSLT. Please could someone give me a start? Here's an example of some of the XML.

<soap:Envelope xmlns:soap="" xmlns:xsi="" xmlns:xsd="">


    <GetRunningWorkflowTasksCollectionResponse xmlns="">












          <Comments />




          <TaskName>Assign a Flexi task</TaskName>







Thanks in advance for any help!



0 Kudos
1 Reply
Automation Master
Automation Master

Re: Get All Outstanding Tasks

Hi Mark,

the query xml action is the right thing, but I recommend using XPath rather than XSLT. using XPath you also have a "XPath Builder" available in your query xml action. You can use this XPath builder to catch exactly the xml node you need even without knowing  anything about XPath, it is very user-friendly.

Using the XPath Builder, the XPath for getting the "OtherEmailAdress" would be:

/soap:Envelope/undefined:soap:Body/defaultNS:GetRunningWorkflowTasksCollectionResponse/defaultNS:GetRunningWorkflowTasksCollectionResult/defaultNS:UserTask/defaultNS:AssignedTo/defaultNSSmiley SurprisedtherEmailAddress