Log / Warn / Alert

These commands send the specified text to the event log as a notification, warning or error respectively.

Task Mandatory? Usage
Text Y The text to display on the console
Label N An optional label for this step

Example 1 – Display the selected message to the event log as a notification

<step task="log" text="Executing the 'My First Task' run profile" />

Example 2 – Send a warning to the event log

<step task="warn" text="HR Feed contained a large number of changes - please investigate" />

Example 3 – Send an alert to the event log

<step task="alert" text="Unable to connect to Active Directory" />

Last edited Oct 24, 2011 at 5:48 PM by jasonbanks, version 1


No comments yet.