Articles → UiPath → File Change Trigger Activity In Uipath
File Change Trigger Activity In Uipath
Purpose
Changetype And Notifyfilters Attribute In File Change Trigger
Click to Enlarge
Click to Enlarge
Example
- Drag and drop the "Trigger Scope" activity on the designer screen.
- In the "Triggers" section of the "Trigger Scope" activity, drag and drop the "File Change Trigger".
Click to Enlarge
- Specify the path and file name inside in the "File Change Trigger" activity.
- Specify the "ChangeType" and "NotifyFilters" attribute of the "File Change Trigger".
Click to Enlarge
- Inside the "Actions" section of the "Trigger Scope" activity, specify the action. For this example, we are displaying the message box.
Click to Enlarge
- Save the file and run the bot.
Output
Click to Enlarge