# Using Refresh Scope

**URL:** <https://forum.uipath.com/t/using-refresh-scope/288381>\
**Category:** Activities\
**Tags:** question, citrix, computer-vision, uiautomation, activities\
**Created:** [February 3, 2021, 11:42pm UTC](https://forum.uipath.com/t/using-refresh-scope/288381 "2021-02-03T23:42:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dowen\_Robinson](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@Dowen\_Robinson](https://forum.uipath.com/u/Dowen_Robinson)\
**Post date:** [February 3, 2021, 11:42pm UTC](https://forum.uipath.com/t/using-refresh-scope/288381/1 "2021-02-03T23:42:35Z")

</div>

Building an automation that will be heavily reliant on computer vision and I’m running into a few problems. Using CV Screen Scope to capture the initial screen works fine but after some interaction with the application, the state changes and I’m required to refresh the scope so the bot can identify the changes. This is where I run into problems:

 ![scope](https://global.discourse-cdn.com/uipath/original/3X/f/8/f8cfacc9c8ca8df49f71596cde0b241ae7de625d.jpeg)

After clicking `Account Maintenance` a pop up appears and I need to refresh the scope during my next CV activity

 ![refreshscope](https://global.discourse-cdn.com/uipath/original/3X/a/4/a41efc2179161371e9567577fb4bc2a33417af7a.jpeg)

after clicking the `Refresh Scope` button, I get this error:

 ![scopeerror](https://global.discourse-cdn.com/uipath/original/3X/d/7/d7efaebc1c5e6816b003d7ee4b5ca43aa10d4339.jpeg)

Am I missing some important step in the process of using CV with my bot or is there some misconfiguration hindering my progress? Any help is appreciated. Thank you.

I’m working inside Citrix hence why I have to use CV here.

---

<div class="post-metadata">

**Author:** ![Marius\_Puscasu](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/marius_puscasu/32/208478_2.png) [@Marius\_Puscasu](https://forum.uipath.com/u/Marius_Puscasu)\
**Post date:** [February 4, 2021, 5:33am UTC](https://forum.uipath.com/t/using-refresh-scope/288381/2 "2021-02-04T05:33:18Z")

</div>

Hi @Dowen_Robinson ,

Please note that if you are using the latest **UIAutomation** activity  
package (v20.10.8), the CV Screen Scope\*\* is no longer compatible with **CV Refresh**.

Starting with **UIAutomation** v20.10.5, the **CV Refresh** activity has been deprecated due to the new caching strategy that enables **CV Screen Scope** to auto-refresh screens whenever necessary

Source: [https://docs.uipath.com/activities/docs/cv-refresh](https://docs.uipath.com/activities/docs/cv-refresh)

Best regards,  
Marius

---

<div class="post-metadata">

**Author:** ![Dowen\_Robinson](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@Dowen\_Robinson](https://forum.uipath.com/u/Dowen_Robinson)\
**Post date:** [February 4, 2021, 5:48am UTC](https://forum.uipath.com/t/using-refresh-scope/288381/3 "2021-02-04T05:48:47Z")

</div>

Hey Marius,  
I’m not using the CV Refresh activity as I received that warning. I am making use of the refresh button inside the activity itself. See the screenshots in my post.
