How to get element count based on a condition using LINQ in UiPath

Опубликовано: 16 Октябрь 2024
на канале: One Minute RPA with Mannoj
106
3

Problem statement - We have an XML data file and need to get the
count of employees living in 'Montara' city

Here is the query to get the data
(From address In xelement.Elements("Employee") _
Where CStr(address.Element("Address").Element("City")) = "Montara" _
Select address).ToList

Code: https://github.com/manojbatra071/UiPa...

Medium:   / how-to-get-element-count-based-on-a-condit...  

#rpa #oneminuterpa #uipath #uipathrpa #uipathdeveloper