Read Node Action

The Read Node action reads a defined value from an Xml file and places the value read into the Shared Properties collection with the key name provided.

 

Prepare Stage

During the prepare stage, this action checks read permissions of the defined Xml file.

Execute Stage

This action backs up the value of the defined Shared Property, then reads the Xml node value and sets the Shared Property value.

Cleanup Stage

No action taken.

Rollback Stage

Restores the Shared Property value that was backed up in the execute stage.

 

Read Xml Node Text Action Editor

Action description – Descriptive text that can be used to identify this particular action in the Actions list.

 

Target client folder – The folder on the client where the xml file that is to be edited is located.

 

Subdirectories – The directory below the designated client root folder to find the xml file that is to be edited.

 

XML file to read – The name of the xml file that is to be read.

 

XPath query to select the node to be read – Use an XPath expression to identify the node within the xml file that you want to read.

 

Shared property to read into – Type the key name of the Shared Property entry that the value should be set to.

 

If multiple nodes are found – In the event that one or more elements are found that match the element to be read, you can choose to:

If the value can’t be read – Identify the action that you want to occur in the event that the value can’t be read from the xml document.  You can choose to:

 

Expansion variables can be used to set target client subdirectory, file name of the xml file to read, Xpath query, shared property name, and default value.