Scripting example in Jitterbit App Builder - Event log
This example demonstrates how to write to the Windows Event Log from an action.
Table schema
Column | Data Type | Primary Key | Auto-generate | Nullable |
---|---|---|---|---|
Script
using System.Diagnostics;
using (var eventLog = new EventLog("Application"))
{
eventLog.Source = "Application";
eventLog.WriteEntry("App Builder sounds better.", EventLogEntryType.Information, 101, 1);
}