# How to use nested Get Element?

**URL:** <https://discourse.openiap.io/t/how-to-use-nested-get-element/323>\
**Category:** OpenRPA\
**Created:** [March 4, 2023, 11:41am UTC](https://discourse.openiap.io/t/how-to-use-nested-get-element/323 "2023-03-04T11:41:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandy\_Mehta](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@Sandy\_Mehta](https://discourse.openiap.io/u/Sandy_Mehta)\
**Post date:** [March 4, 2023, 11:41am UTC](https://discourse.openiap.io/t/how-to-use-nested-get-element/323/1 "2023-03-04T11:41:10Z")

</div>

Hi,

Get Element returns item. Here in my case, I am using three Get Elements. The first Get Element returns item and I passed it as a parameter to the second Get Element through From. And It works fine. How should I pass the return value of the second to third Get Element?

Following is my workflow:

 ![open-rpa](https://discourse.openiap.io/uploads/default/original/1X/4b19cdefad09a2ef213974791424868f046f4c84.png)

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [March 4, 2023, 12:06pm UTC](https://discourse.openiap.io/t/how-to-use-nested-get-element/323/2 "2023-03-04T12:06:04Z")

</div>

use “item” this will default to the latest/current implementation variable witch is always called item for get element

also note, I have not tested the ui/selector window with multiple nested get elements, but as long as the seletor is valid it should work just fine.

---

<div class="post-metadata">

**Author:** ![Sandy\_Mehta](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/s/e0b2c6/32.png) [@Sandy\_Mehta](https://discourse.openiap.io/u/Sandy_Mehta)\
**Post date:** [March 4, 2023, 12:19pm UTC](https://discourse.openiap.io/t/how-to-use-nested-get-element/323/3 "2023-03-04T12:19:05Z")

</div>

Hi Allan,

Thank you for your reply. I tried the same thing, but it is not working. I am sharing the workflow file for your reference:

> **[Random-RPA.json](https://drive.google.com/file/d/1Z2LO7N_uesJ4ozdo4ILm3FFJ76JR6OlQ/view?usp=share_link)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [March 11, 2023, 12:19pm UTC](https://discourse.openiap.io/t/how-to-use-nested-get-element/323/4 "2023-03-11T12:19:29Z")

</div>

Closed on March 11, 2023, 12:19pm UTC

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