How to get specyfic item from loop. PLEASE HELP!


#1

Hi Guys,

I need yours help. How to take specific item from for each activity.

The red section is needed part.

Regards
@fudi5


#2

Hi @fudi5,
You can use if condition.
1.first idea is from that image you need only odd values from the for each list. You can use if condition to check
2.the all the value start with “DZ.KW.” before getting you can check with if condition. Contains or StartsWith method.

Regards,
Arivu


#3

Hi my friend @arivu96,

This data is dynamic. I can not asume that this record everytime will be start from DZ.KW.
Any idea ?

Regards
@fudi5


#4

What does this give if you pass below into for each?

nr_wzmianki.Where(Function(s, index) index Mod 2 <> 0)


#5

Im not quite undestand. You wanna use it in IF activity ? And this take a every secend row yes ?


#6

It should. You can directly pass in foreach loop.


#7

Oh :slight_smile: great idea… i dont though about it. I try it.

Thanks a lot @vvaidya