AnsweredAssumed Answered

XML Profile - take first item from multiple items

Question asked by MartinFilakovsky7421 on Jun 17, 2014
Latest reply on Jan 5, 2018 by mmorthala189353
I have the XML request message which contains 3 items. How in the mapping I can take the value of the field "cField" of the first item? In my example bellow the value is "VALUE1'. Is it possible to take it without using scripting (something like xpath: "request/items/item[1]/cField")?
<request>
    <items>
        <item>
            <cField>VALUE1</cField>
        </item>
        <item>
            <cField>VALUE2</cField>
        </item>
        <item>
            <cField>VALUE3</cField>
        </item>
    </items>
</request>

Outcomes