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.
<TaskName>Assign a Flexi task</TaskName>
Thanks in advance for any help!
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: