Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method monitors an XML file for new nodes. To specify which nodes to monitor, an XPath query is used and ; to identify which nodes are new, a unique element is required. Default properties are designed to work with the ticketcollector.xml file produces by an Alcatel OmniPCX Enterprise PBX. A unique element is required to track which nodes are new.  Default properties are designed to work with the  Keywordmacro

Labelticketcollector.xml
file produces by an 
Referencemacro
LabelAlcatel OmniPCX Enterprise
PBX.

Screenshotmacro
Borderfalse
URL/download/attachments/12588757/input_XML_file.png

FieldDescription
Location
The full filename of the XML file to be monitored. The {app} variable can be used to specify the program data location of the running service
X-Path query
The XPath query to use when testing for new nodes
Checksum nodeThe unique node(element) to use be used to track which nodes have been added since the last check
Outer element

The name of the outer XML element to be used to contain any new nodes when the new XML document is created for output

Check interval 
DelayA value, in milliseconds, that specifies the artificial delay that is waited when a change in the source XML file is discovered.  If the file were to be accessed immediately upon a change, i.e. without such a delay, the operating system would most likely not allow access to the file so soon, causing a sharing violation

File reader

This method opens a connection to an actual file

...