logMessage
A Workflow Engine function that logs a warning level message to the Moogfarmd log. See Configure Logging for information on log locations.
Prepends the message with the workflow function name and the alert or Situation ID, or signature for events.
This function is available for event, alert, and Situation workflows.
Back to Workflow Engine Functions Reference.
Arguments
Workflow Engine function logMessage
takes the following arguments:
Name | Required | Type | Description |
---|---|---|---|
| Yes | String | The message to log. |
Example
The following example demonstrates typical use of Workflow Engine function logMessage
.
{"message":"Urgent action required."}