# Null selection

**URL:** <https://forum.uipath.com/t/null-selection/3291069>\
**Category:** Studio\
**Tags:** question, studio, uiautomation, activities\
**Created:** [July 28, 2025, 9:55am UTC](https://forum.uipath.com/t/null-selection/3291069 "2025-07-28T09:55:04Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin\_sola\_ferreiro](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/martin_sola_ferreiro/32/539833_2.png) [@martin\_sola\_ferreiro](https://forum.uipath.com/u/martin_sola_ferreiro)\
**Post date:** [July 28, 2025, 9:55am UTC](https://forum.uipath.com/t/null-selection/3291069/1 "2025-07-28T09:55:04Z")

</div>

I’m having a little problem. When trying to input a variable to a “Select Item” activity on my automation, it directly changes to “null”. What’s going on?  
 ![Issue](https://global.discourse-cdn.com/uipath/original/4X/6/7/7/67771c4c7d8a53f8ccf9743659f3998ddeb02ed8.gif)

---

<div class="post-metadata">

**Author:** ![yedukondaluaregala](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/yedukondaluaregala/32/557780_2.png) [@yedukondaluaregala](https://forum.uipath.com/u/yedukondaluaregala)\
**Post date:** [July 28, 2025, 10:04am UTC](https://forum.uipath.com/t/null-selection/3291069/2 "2025-07-28T10:04:18Z")

</div>

@martin_sola_ferreiro

Can you try to delete and use activity again and try opening the dropdown items and indicate id in select item activity.

if still is not working try with type into activity

---

<div class="post-metadata">

**Author:** ![prashant1603765](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/prashant1603765/32/523412_2.png) [@prashant1603765](https://forum.uipath.com/u/prashant1603765)\
**Post date:** [July 28, 2025, 10:53am UTC](https://forum.uipath.com/t/null-selection/3291069/3 "2025-07-28T10:53:32Z")

</div>

Hi @martin_sola_ferreiro  
Welcome to UiPath,

Updating to the latest stable version of **UiPath.UIAutomation.Activities** usually resolves this. Pls try to upgrade..

If helpful, mark as solution tick. Happy automation with UiPath

---

<div class="post-metadata">

**Author:** ![martin\_sola\_ferreiro](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/martin_sola_ferreiro/32/539833_2.png) [@martin\_sola\_ferreiro](https://forum.uipath.com/u/martin_sola_ferreiro)\
**Post date:** [July 28, 2025, 2:10pm UTC](https://forum.uipath.com/t/null-selection/3291069/4 "2025-07-28T14:10:31Z")

</div>

How can I update that?

---

<div class="post-metadata">

**Author:** ![prashant1603765](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/prashant1603765/32/523412_2.png) [@prashant1603765](https://forum.uipath.com/u/prashant1603765)\
**Post date:** [July 28, 2025, 2:16pm UTC](https://forum.uipath.com/t/null-selection/3291069/5 "2025-07-28T14:16:25Z")

</div>

Are you using Studio Web, StudioX or Studio?

If you are using Studio Web then there is already upgraded try to reImplement. Might be solve the error.

---

<div class="post-metadata">

**Author:** ![SorenB](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/sorenb/32/500790_2.png) [@SorenB](https://forum.uipath.com/u/SorenB)\
**Post date:** [July 29, 2025, 5:59am UTC](https://forum.uipath.com/t/null-selection/3291069/6 "2025-07-29T05:59:14Z")

</div>

Hello @martin_sola_ferreiro

Have you tried clearing out the variable (null) and using the **Expression Editor** to add the desired variable?

Regards  
Soren

---

<div class="post-metadata">

**Author:** ![martin\_sola\_ferreiro](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/martin_sola_ferreiro/32/539833_2.png) [@martin\_sola\_ferreiro](https://forum.uipath.com/u/martin_sola_ferreiro)\
**Post date:** [July 29, 2025, 9:19am UTC](https://forum.uipath.com/t/null-selection/3291069/7 "2025-07-29T09:19:16Z")

</div>

It still doesn’t work

---

<div class="post-metadata">

**Author:** ![Nikhil\_Zambare1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil_zambare1/32/474621_2.png) [@Nikhil\_Zambare1](https://forum.uipath.com/u/Nikhil_Zambare1)\
**Post date:** [July 29, 2025, 12:54pm UTC](https://forum.uipath.com/t/null-selection/3291069/8 "2025-07-29T12:54:30Z")

</div>

Dear @martin_sola_ferreiro,

This seems to be _ **bug** _ in UiPath select item activity.

The solution I am gonna propose is an **hard way**.

**Step1:** Open you studio web project in UiPath desktop studio.

 ![The image depicts a workspace interface showing options for managing a process, including opening in Studio Desktop, downloading, or deleting items. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/5/b/1/5b1ee6ca18ae5049cf44fef5f905c4fe0d3a20c6.png)

**Step2:** Close studio web & try to edit the code in desktop studio. Just add simple log message activity.

**Step3:** Open the project folder on your machine & find .xaml where the select item activity is located. Now open the .xaml in Notepad++

**Find below line in .xaml :**

 ![This image shows code from an XML-like file defining a list of international country string values for a selection element. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/3/e/0/3e0dfe9c813f6ec3706cb2e300cf57b774bf78ed.png)

For me its look like below:

```auto
<uix:NSelectItem DisplayName="Select Item 'Afghanistan'" HealingAgentBehavior="SameAsCard" sap:VirtualizedContainerService.HintSize="450,49" sap2010:WorkflowViewState.IdRef="NSelectItem_1" Item="[Nothing]" ScopeIdentifier="221140d5-79b5-4914-bcd5-db61e40c3b8b" Version="V5">

```

Replace **Nothing** text with your variable name as follows:

```auto
Item="[CountryName]"

```

**Step4:** Save the .xaml file and open the project in desktop studio. Once project opened in desktop studio. Sync it to cloud & open studio web using below option:

 ![An automation process in UiPath Studio is shown, including activities such as selecting an item from a dropdown menu and logging a completion message, with associated properties and debugging output displayed. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/8/9/0/89047f6a0ab205e4f4fddbf5e8769503a88646e2.png)

Whola! 😀 you have your variable present in activity in Studio Web.

_`Kindly value my efforts by marking as solution`_ 🙂

Br,  
NikZ

---

<div class="post-metadata">

**Author:** ![Nikhil\_Zambare1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil_zambare1/32/474621_2.png) [@Nikhil\_Zambare1](https://forum.uipath.com/u/Nikhil_Zambare1)\
**Post date:** [July 29, 2025, 1:25pm UTC](https://forum.uipath.com/t/null-selection/3291069/9 "2025-07-29T13:25:08Z")

</div>

@loginerror, Could you please check if this is an bug or not.

Br,  
NikZ

---

<div class="post-metadata">

**Author:** ![martin\_sola\_ferreiro](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/martin_sola_ferreiro/32/539833_2.png) [@martin\_sola\_ferreiro](https://forum.uipath.com/u/martin_sola_ferreiro)\
**Post date:** [July 30, 2025, 10:04am UTC](https://forum.uipath.com/t/null-selection/3291069/10 "2025-07-30T10:04:42Z")

</div>

Well, I solved that problem, but I have another one. To be honest, I’m following a course from the academy about Studio Web and I’m on an activity about making an automation to write down a generated “unicorn name” on a spreadsheet and send the spreadsheet by email. The problem is that said “unicorn name” is written down on the wrong cell: it should be on the corresponding row on the proper column but it’s on the A1 cell, overwriting the “name” header, as shown in the attached image. Why is it happening?  
 ![Issue 2](https://global.discourse-cdn.com/uipath/original/4X/7/5/5/755afefc8f3156323a8d3515ded10a4806ee3572.png)

---

<div class="post-metadata">

**Author:** ![Nikhil\_Zambare1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil_zambare1/32/474621_2.png) [@Nikhil\_Zambare1](https://forum.uipath.com/u/Nikhil_Zambare1)\
**Post date:** [July 30, 2025, 1:16pm UTC](https://forum.uipath.com/t/null-selection/3291069/11 "2025-07-30T13:16:28Z")

</div>

Dear Marthin,

Glad to head that your issue is **resolved**. Please mark this thread as solution.

Additionally, for your newly reported issue, please check your wirte cell activity. Also let me know which activity you are using to write into excel cell.

Br,  
NikZ

---

<div class="post-metadata">

**Author:** ![Anandaraj](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anandaraj/32/512761_2.png) [@Anandaraj](https://forum.uipath.com/u/Anandaraj)\
**Post date:** [July 30, 2025, 4:24pm UTC](https://forum.uipath.com/t/null-selection/3291069/12 "2025-07-30T16:24:41Z")

</div>

@martin_sola_ferreiro have you solved it using the method explained by @Nikhil_Zambare1 or a different one?

Another workaround for this is to use the type into activity instead of the select item activity. But yeah this seems like a **Bug** with select item activity only.

---

<div class="post-metadata">

**Author:** ![martin\_sola\_ferreiro](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/martin_sola_ferreiro/32/539833_2.png) [@martin\_sola\_ferreiro](https://forum.uipath.com/u/martin_sola_ferreiro)\
**Post date:** [July 31, 2025, 10:32am UTC](https://forum.uipath.com/t/null-selection/3291069/13 "2025-07-31T10:32:09Z")

</div>

I’m using a “Write Cell” activity like this

 ![Write Cell Activity](https://global.discourse-cdn.com/uipath/original/4X/d/2/1/d2152d5e17e40a81d1a89623e1da5c4951e47e46.png)

---

<div class="post-metadata">

**Author:** ![Nikhil\_Zambare1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil_zambare1/32/474621_2.png) [@Nikhil\_Zambare1](https://forum.uipath.com/u/Nikhil_Zambare1)\
**Post date:** [July 31, 2025, 10:47am UTC](https://forum.uipath.com/t/null-selection/3291069/14 "2025-07-31T10:47:51Z")

</div>

Dear @martin_sola_ferreiro,

From provided screenshot, it clearly visible that you have wrongly mentioned column name in the write cell activity.

Your column name is: Unicorn Name not an Unicorn\_Name  
There is no **underscore** present in the column name, but you have used underscore.  
Use correct column name.

Don’t forget to mark as solution 🙂

Br,  
NikZ

---

<div class="post-metadata">

**Author:** ![jjes](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/jjes/32/523905_2.png) [@jjes](https://forum.uipath.com/u/jjes)\
**Post date:** [August 6, 2025, 8:16am UTC](https://forum.uipath.com/t/null-selection/3291069/15 "2025-08-06T08:16:48Z")

</div>

Clearly using Studio Web as can be seen in the Screenshots.

---

<div class="post-metadata">

**Author:** ![brunoclim](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/brunoclim/32/513645_2.png) [@brunoclim](https://forum.uipath.com/u/brunoclim)\
**Post date:** [August 6, 2025, 11:14pm UTC](https://forum.uipath.com/t/null-selection/3291069/16 "2025-08-06T23:14:32Z")

</div>

How did u solve that? I’m facing the same issue. Have you solved it using the method explained by @Nikhil_Zambare1 or a different one?

---

<div class="post-metadata">

**Author:** ![Nikhil\_Zambare1](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nikhil_zambare1/32/474621_2.png) [@Nikhil\_Zambare1](https://forum.uipath.com/u/Nikhil_Zambare1)\
**Post date:** [August 7, 2025, 1:31am UTC](https://forum.uipath.com/t/null-selection/3291069/17 "2025-08-07T01:31:19Z")

</div>

Dear @brunoclim ,

You can just try out the method I explained.

Its tested. If you doubt, you can just create test project & test yourself.

Br,

NikZ
