Skip to main content
Nintex Community Menu Bar
Question

Does the 'Query XML' function support XPath functions, specifically count()?

  • February 10, 2025
  • 3 replies
  • 38 views

Bards
Forum|alt.badge.img+6

I think the answer to this is no, but thought I’d ask.

Does the Query XML function allow anything more than querying nodes? If not, is there any other way we can run XPath functions in a flow?

3 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • February 11, 2025

Hi ​@Bards,

The query XML action does just that.  It queries the nodes.
The workflow can then manipulate the data retrieved.


Bards
Forum|alt.badge.img+6
  • Author
  • Rookie
  • February 11, 2025

Thanks for the reply. I should have been more specific: I was looking for a way to run the Xpath Count() function but I don’t think there is.

As an alternative I just queried a random node in the XML and stored that in a collection > count items in collection. Gives the result I was looking for.


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • February 11, 2025

Hi ​@Bards,

That’s what I would have done also.