cancel
Showing results for 
Search instead for 
Did you mean: 

How to get values from XML

SafronovDI
Level 2

Hi everyone! Could you help me to find a solution? I don't understand, how can I get the values from XML. I have the XML as below. My goal is to get the values of " Row_3" and " Row_4" inputs. So, I need to find in the output the values 3333 and 4444.

<parameters>
    <inputs>
        <input name=" Result" type=" text" value=" List"/>
        <input name=" Data" type=" collection">
            <row>
                <field name=" Row_1" type=" text" value=" 1111"/>
                <field name=" Row_2" type=" text" value=" 2222"/>
            </row>
        </input>
        <input name=" Row_3" type=" number" value=" 3333"/>
        <input name=" Row_4" type=" number" value=" 4444"/>
    </inputs>
    <outputs/>
</parameters>

Thanks!



------------------------------
Demyan Safronov
System administrator
Priorbank (part of Raiffeisen Bank International AG)
Europe/Minsk
------------------------------
2 REPLIES 2

Babjee24
Level 7

Hi Demyan,

You can use the Utility XML VBO for this and using get element by path you can get the values respectively

31027.png



------------------------------
Babjee Vangipurapu
Senior RPA Developer
Wonderbotz
India
------------------------------
Babjee Vangipurapu
Senior RPA Developer
India

chrispotvin
Staff
Staff

Hi Demyan,

I'm assuming that there is an <output> tag after the <parameters> but before the <inputs> tag? I believe your missing that one in your example. Does the name=" Row_3" change or does it remain the same with every XML?

Thanks!



------------------------------
Christopher Potvin
Senior RPA Developer
SS&C Blue Prism
Canada
------------------------------