I have a workflow that helps digest transaction level detail from purchase orders. Basically, a purchase order transaction would have Vendor, Item Code, Item Name, Item Cost, Quantity, Total.
I’ve an issue that I’ve isolated down to the XPath node where it seems to be “misplacing” the results onto the wrong rows. For example, one item’s cost would show up on other items’ lines.
First, using one XPath node, extract /root/results/item/values and return a “Node Cell” using the “Multiple Rows” option
then, using a second XPath node, further split up each item in values in the individual columns (i.e. /trandate, /tranid, relative to the current values element)
Got it working!
This is has to be my new favourite node. The key to the second step is to literally make it a function of the first step, so each xpath line has to be updated accordingly so it’s not referring to the root code. The reference in the 2nd node also has to be to the node cell.