logCEvent

A Workflow Engine function that prints a warning level message containing the current in-scope object in a readable JSON format to the Moogfarmd log file.

You can use this function to debug workflows. It is not recommended for production workflow because it can clutter log files and make them difficult to use.

This function is available for event, alert, and Situation workflows.

The workflow sweep up filter applies to this function.

Back to Workflow Engine Functions Reference.Workflow Engine Functions Reference

Arguments

Workflow Engine function logCEvent takes the following arguments:

Name

Required

Type

Description

tag

no

string

Optional text to print with the log message to help you find related messages.

Example

The following example demonstrates typical use of Workflow Engine function logCEvent.

Set the following:

  • tag: workflowdebug

The UI translates your settings to the following JSON:

{"tag":"workflowdebug"}