Windows Event Log Activity
Description:
Writes an entry to the Windows Event Log.
Inheritance Hierarchy:
System.Object
System.Activities.Activity
System.Activities.CodeActivity
Geocortex.Workflow.Activities.WindowsEventLog
Function:
This activity writes an entry in the Windows Event Log. An entry contains the message text and the type of the event (Information, Warning, Error, etc.).
In a Workflow:
Use this activity to provide feedback about events in your workflows. Event logs can help you troubleshoot workflow issues when they arise.
You can view the Windows Event Log by using the Event Viewer in the Administrative Tools section of the Control Panel, or by running eventvwr.msc from the Start Menu or a command prompt. See https://technet.microsoft.com/en-us/library/4229f239-16a6-4ecd-b3cf-aec03dc08cd5 for more information.
Properties:
Name | Description |
---|---|
In Arguments |
|
Category |
The application-specific subcategory associated with the message. This argument is provided for completeness, but is not necessary in most workflow scenarios. |
Entry Type |
The type of the event log entry. The default is Information. |
Event ID |
The application-specific identifier for the event. This argument is provided for completeness, but is not necessary in most workflow scenarios. |
Log |
The name of the log the source's entries are written to. Possible values include: Application, System, or a custom event log. This argument is provided for completeness, but in most workflow scenarios it should remain set to "Application". |
Message |
The message to write to the event log. |
Raw Data |
An array of bytes that holds the binary data associated with the entry. This argument is provided for completeness, but is not necessary in most workflow scenarios. |
Source |
The source name by which the application is registered on the local computer. This argument is provided for completeness, but in most workflow scenarios it should remain set to "Geocortex Workflow". |
Misc |
|
Display Name |
WindowsEventLog You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain. |
Version Information:
Supported from: Geocortex Essentials 3.11.