In order to test a photocopier we're demoing, we need to be able to parse an .xml file sent from the device to pick out certain values, in hopes of using these values to populate meta data fields in a template.
Looking at the following article, I've been able to figure out how to use XPath to filter out specific values within an .xml file: https://answers.laserfiche.com/questions/54647/Help-With-Read-XML-Activity-for-Applitrack
To this point I've built a very simple workflow that should take an .xml file from a folder (i.e. an .xml file exported with a .pdf scanned on our new photocopier), read out specific values, and populate template fields (XML modeled after another question on the forum):
Now, where I'm having problems is with what to specify for XML Source. As above, I had previously specified this as being a value passed from the previous activity, but the error message I received said the .xml file was invalid (although the XPath validation on the exact same .xml file verified everything was formatted properly).
Looking at the following post on the Answers site, it sounds like I should be saying the XML Source is either an HTTP Web Request or Download Electronic Document:
https://answers.laserfiche.com/questions/60739/Workflow-read-xml-having-trouble-getting-the-source-document-syntax
I thought I tried each of these as possible values for XML Source, but I have the feeling I'm either specifying this wrong, or I have an incorrect activity leading up to this. If anyone has any suggestions on something to try, please let me know, since I'm thinking I'm getting pretty close!
Thanks as always to anyone who can assist.
Marty Gaffney - Network Technician
Town of Okotoks