SystemEvents connector methods

reference brazil Updated Sep 10, 2026 1 min read connectors-systemevents-methods.md
Raw file servicenow.com

The SystemEvents connector methods watch various system events and, if needed, stop watching.

Methods

Provides the following methods and the events these methods track:

WatchFileSystem

Watches the following events.

Event

Description

Parameter

FileChanged

Update to the file.

  • Name: Name of the file that is updated.
  • Path: Path to the file.
  • ChangeType: Type of update to the file.

FileCreated

New file created in the path watched by the WatchFileSystem method.

  • Name: Name of the file created.
  • Path: Path to the file that was created.

FileDeleted

File deleted from the path watched by the WatchFileSystem method.

  • Name: Name of the file deleted.
  • Path: Path to the file that was deleted.

FileRenamed

Name of the file changed.

  • OldName: Previous name of the file.
  • OldPath: Previous path to the file, if path has also changed.
  • NewName: New name of the file.
  • NewPath: New path to the file, if applicable.

FileWatchError

WatchFileSystem method error.

 

- **Input**
[Path](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/parameters-systemevents-methods.md)

[FileTypes](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/parameters-systemevents-methods.md)

[SubDirectories \(Boolean\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/parameters-systemevents-methods.md)

WatchNetworkAvailability

Watches the network availability in the system. It uses the following events. You must execute the WatchNetworkAvailability method before executing any of the following events.

Event Description Parameter
NetworkAvailable Watches the system when network is available.
NetworkUnavailable Watches the system when network is unavailable.

WatchSessionEvents

Watches the following events.

Event Description Parameter
OnSessionLock When a session is locked by the user.
OnSessionUnlock When a session is unlocked by the user.
OnSessionRemoteControl When a session is remote controlled by the user.
OnSessionLogoff When the session is logged off.

UnwatchFileSystem

Stops or prevents the RPA Desktop Design Studio from watching the file system events. You can use this method before or after the WatchFileSystem method was already used.

UnwatchNetworkAvailability

Stops or prevents the RPA Desktop Design Studio watching the network availability events. You can use this method before or after the WatchNetworkAvailability method was already used.

UnwatchSessionEvents

Stops or prevents RPA Desktop Design Studio watching the network availability events. You can use this method before or after the WatchSessionEvents method was already used.

Parent Topic:System Events

Search documentation
Search document titles and file paths on the brazil branch