Nested Get Element - search in outer-scope

Hi everyone,

Is it possible to select an element within a get element if the element i want to select is outside of the “Main” get element

OpenRPA version 1.4.57

my case:

A: Select Voyage
selects this:

B: fetch again?
Selects this:

The problem i am facing is that i am not able to select B as i am working inside the scope of A

is it possible to ignore the scope of A.
if not maybe this could be a useful feature to add to the properties of get element activity
something like a toggle “Ignore parent”

for now i will just work around using nested get elements in my solution.

If you add a Get Element inside a Get Element, every time you open the selector window and click OK, it will automatically add item to the From property. There is no way to disable this “feature,” but you can add your Get Element outside the first Get Element, set up the selector to find what you need, and then “move it back” into the nested Get Element… just make sure the From property is empty.

If From has a value, it will only search within the children of that item, you can always remove the item variable from From.

Ah, that makes sense! I thought i had seen the functionality before but I completely forgot. Thanks, Allan! :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.