Connect HomeMarketplaceComponentsRetrieve Configuration Parameters

Retrieve Configuration Parameters

Custom Activity

Custom Activity

Updated: September 28th, 2020

Published: February 23rd, 2020

Downloads: 11

Industry: Information

Language compatibility: Visual Basic

Community Support

Retrieve Configuration Parameters

Custom Activity

Summary: 

Obtain the required data or configuration parameters from an XML file using XPath.

This custom activity is helpful for cases when the required robot parameters change frequently and the real-time data is available in the XML file.

If the automation involves configurations which may vary on a day to day basis then it would be a bit tedious to change the parameters in Orchestrator frequently.
Using this activity the required parameters can be fetched at runtime if the config parametrs are available in XML file.

For instance for an automation that will move a file from the source to a final destination and the path changes every day, the parameters need to be updated accordingly.
If the path can be obtained from the source application in XML file format, then this file can be read during runtime and the config can be assigned accordingly.

This activity can also be used just to check if specific data exists in the XML file or not. If the specified XPath data exists then the output will be TRUE, if the data does not exist then the output will be FALSE.

Detailed explanation of parameters and examples of how to use this activity can be found in the attached manual.

Details

Producers

Manish Jagtap

Benefits

This activity can be used to extract the required data from the XML file using XPath and further use it as configuration parameters for the robot or other activitis.
This activity can also be used to just check if specific data exists in the XML file or not. If the specified XPath data exists then the output will be TRUE,else the output will be FALSE.
If the XPath Query is used efficiently the precise outputs can be fetched from XML files without need of string manipulation or other methods.

Compatibility

Compatible with UiPath Studio 2019.*.* and above.
Compatibility not tested on older versions of Studio.

Dependencies

Requires the package to be installed in the studio using package manager.
No other external dependencies.

Resources

- Get_XML_Config_Data.docx

Licensing

By clicking download you agree to the following license.