---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# EventLog connector event and methods

# EventLog connector event and methods {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Eventlog connector provides methods and an event to listen to events from sources and write them to the Microsoft Event Viewer as part of an automation. The methods and events have properties that you can update.

## OnEntryWritten {#connector-eventlog-methods__section_qqj_bsr_tsb}

This is a predefined event that occurs when an entry is written to the event log of your local computer.

Event output
:   [Type](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-type)
:   [Source](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-source)
:   [Message](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-message)

## Write {#connector-eventlog-methods__section_cxf_ggs_rrb}

Writes a warning, information, or error to the Microsoft Event Viewer, which includes a message and the source of the event.

Inputs
:   [Type](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-type)
:   [Source](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-source)
:   [Message](https://www.servicenow.com/docs/BWJEMOc9RmrqTstkAIsKMQ#parameters-eventlog-methods__parameter-input-write-message)

## Dispose {#connector-eventlog-methods__section_dwn_jls_rrb}

When you execute the Write method, an object to the Microsoft Event Viewer
is written and a connection is established with the RPA Desktop Design Studio. When
you connect the Dispose method with the Write method, the object is disconnected.

## ListenEvents {#connector-eventlog-methods__section_yrw_5ls_rrb}

Listens to the events that are specified in the OnEntryWritten event.

## UnsubscribeToEvents {#connector-eventlog-methods__section_mn5_4ct_rrb}

Discontinues listening to the events from the OnEntryWritten event.

## OnEntryWritten {#connector-eventlog-methods__section_bsv_zct_rrb}

Provides as outputs the event type, descriptive message, and the source of the event.

