# Anchor Activity

**URL:** <https://forum.uipath.com/t/anchor-activity/522146>\
**Category:** Studio\
**Tags:** uiautomation\
**Created:** [March 1, 2023, 1:57pm UTC](https://forum.uipath.com/t/anchor-activity/522146 "2023-03-01T13:57:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANGE](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ange/32/375742_2.png) [@ANGE](https://forum.uipath.com/u/ANGE)\
**Post date:** [March 1, 2023, 1:57pm UTC](https://forum.uipath.com/t/anchor-activity/522146/1 "2023-03-01T13:57:30Z")

</div>

Can someone explain me when do we have to use Anchor Base Activity please?

---

<div class="post-metadata">

**Author:** ![Sudharsan\_Ka](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sudharsan_ka/32/459826_2.png) [@Sudharsan\_Ka](https://forum.uipath.com/u/Sudharsan_Ka)\
**Post date:** [March 1, 2023, 2:07pm UTC](https://forum.uipath.com/t/anchor-activity/522146/2 "2023-03-01T14:07:31Z")

</div>

HI @ANGE

Anchor is same as the name something like a constant value

Lets say you are filling a form while filling what you will do

Seeing the question or a word you will be filling the details below or up or left or right side in which the form is asking you to fill the details

Likewise you are telling the bot to see a particular word like

First name : and then we will have text field in which we need to enter the correct data you can tell the bot that the text field will be below the firstname or right to first name or use the AUTO it will detect and act accordingly

[![](https://global.discourse-cdn.com/uipath/original/4X/c/a/e/cae45c6bb7efd708de933d4b184f19608abb7839.jpeg "How to Use UiPath Anchor Base Activity Accurately") ](https://www.youtube.com/watch?v=6R0FWY44_s4)

Regards  
Sudharsan

---

<div class="post-metadata">

**Author:** ![fernando\_zuluaga](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/fernando_zuluaga/32/462699_2.png) [@fernando\_zuluaga](https://forum.uipath.com/u/fernando_zuluaga)\
**Post date:** [March 1, 2023, 2:09pm UTC](https://forum.uipath.com/t/anchor-activity/522146/3 "2023-03-01T14:09:29Z")

</div>

Hi @ANGE

Most likely we should use it when we have a relative element, so basically the left part that will contain a find element activity, will look for the relative element, and in the right part the thing that we need to do, it could be a click, get text, type into, whatever but all is based on the relative element.

We can also use it when there are many similar elements, and we need to get an specific anchor to get the desire element.

Regards

---

<div class="post-metadata">

**Author:** ![ahmad.sultan](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ahmad.sultan/32/335697_2.png) [@ahmad.sultan](https://forum.uipath.com/u/ahmad.sultan)\
**Post date:** [March 1, 2023, 3:33pm UTC](https://forum.uipath.com/t/anchor-activity/522146/4 "2023-03-01T15:33:05Z")

</div>

Hi @ANGE ,

In short, we use anchor base activity when we want to target some element which doesn’t have a good selector using an element having a good selector.

---

<div class="post-metadata">

**Author:** ![ANGE](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ange/32/375742_2.png) [@ANGE](https://forum.uipath.com/u/ANGE)\
**Post date:** [March 2, 2023, 6:34am UTC](https://forum.uipath.com/t/anchor-activity/522146/5 "2023-03-02T06:34:43Z")

</div>

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![fernando\_zuluaga](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/fernando_zuluaga/32/462699_2.png) [@fernando\_zuluaga](https://forum.uipath.com/u/fernando_zuluaga)\
**Post date:** [March 2, 2023, 6:55am UTC](https://forum.uipath.com/t/anchor-activity/522146/6 "2023-03-02T06:55:08Z")

</div>

if that solved your query, remeber to close the topic!

> [@Forum FAQ - How to mark a post as a solution](https://forum.uipath.com/t/forum-faq-how-to-mark-a-post-as-a-solution/338723):
>
> [Forum FAQ - How to mark a post as a solution](https://forum.uipath.com/t/forum-faq-how-to-mark-a-post-as-a-solution/338723) This document is part of our [beginners guide](https://forum.uipath.com/t/forum-faq-beginner-s-guide/200562). This article will teach you how to properly mark a post as a solution. We were closely following our last [UiPath Forum feedback round! speech_balloon](https://forum.uipath.com/t/uipath-forum-feedback-round/330991/) topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them. When is the topic resolved? The topic can be considered resolved when the topic author has found…

Regards!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [March 5, 2023, 6:55am UTC](https://forum.uipath.com/t/anchor-activity/522146/7 "2023-03-05T06:55:54Z")

</div>

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