# Executing two times when using file change trigger activity

**URL:** <https://forum.uipath.com/t/executing-two-times-when-using-file-change-trigger-activity/159921>\
**Category:** Help\
**Tags:** error, system, activities\
**Created:** [October 17, 2019, 2:17am UTC](https://forum.uipath.com/t/executing-two-times-when-using-file-change-trigger-activity/159921 "2019-10-17T02:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magic\_Kim](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@Magic\_Kim](https://forum.uipath.com/u/Magic_Kim)\
**Post date:** [October 17, 2019, 2:17am UTC](https://forum.uipath.com/t/executing-two-times-when-using-file-change-trigger-activity/159921/1 "2019-10-17T02:17:28Z")

</div>

hello everyone

I’m trying to make Monitor Events using ‘File Change Trigger’ like this

 ![image](https://global.discourse-cdn.com/uipath/original/3X/b/5/b53b3db9e565839631f4411da63868fd4088c2f4.png)

It’s simple and no error.  
But when i try to execute this one, ‘Message Box’ activity executes two times…

What is the problem???

My ‘UiPath.System.Activities’ package version is 19.8.0

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [October 17, 2019, 2:19am UTC](https://forum.uipath.com/t/executing-two-times-when-using-file-change-trigger-activity/159921/2 "2019-10-17T02:19:06Z")

</div>

@Magic_Kim

Welcome back to the uipath community.

May I know how many text files are there in that folder ?

---

<div class="post-metadata">

**Author:** ![Magic\_Kim](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@Magic\_Kim](https://forum.uipath.com/u/Magic_Kim)\
**Post date:** [October 17, 2019, 3:46am UTC](https://forum.uipath.com/t/executing-two-times-when-using-file-change-trigger-activity/159921/3 "2019-10-17T03:46:51Z")

</div>

@lakshman

hi !

There’s 10 .txt files in that folder…  
And…the real problem is that…  
if i change ‘ChangeType’ property to ‘Created’, then ‘Message Box’ activity executes two times.  
but changing property to ‘Changed’, ‘Message Box’ activity executes only once…
