Can XPath Functions (e.g. Sum) Be Used in Envision for InfoPath Data Binding?

Applies To

Summary

Can XPath functions (e.g. Sum) be used in Envision for InfoPath data binding?

XPath functions (e.g. Sum, Count) cannot currently be used directly within a process attribute expression.

Details

Although XPath functions (e.g. Sum, Count) cannot currently be used directly within process attribute expressions, you can use XPath expressions to retrieve a subset of an InfoPath form's XML data and store it in a custom process attribute. You would then be able to use a custom AgileWork to perform additional transformations or operations on the contents of the process attribute (e.g. to run Xpath queries, string parsing and/or manipulation, etc.).

Therefore, by combining Envision's built-in support for XPath expressions with some additional AgileWorks, a process modeler would be able to accomplish the same result as would be possible with XPath functions.