Get attribute doesn't work inside For Each activity

studio

#1

Hi all.

I’m using For each Child Activity and then I want to use Get Attribute to bring the “SRC” of certain embedded code. The problem is that Get Attribute activity says that can’t find the selector but out of the For each it works perfectly. What’s happening?

Regards


#2

Hi,

If you can provide the selector of the Get Attribute outside of the For Each and inside the For Each, we might be able to provide better answers for you.

From the sounds of it, you need to Get Attribute for each child, therefore the selector will be different per line item? Maybe I misunderstood.

Thanks.


#3

Solved it, just need to put my Get Attribute activity in Element Scope