logWorkflowDuration
A Workflow Engine function that logs debug messages for the workflow execution duration. To log duration you need to set at lest two actions with logWorkflowDuration in your workflow. The first starts the timer. subsequent instances log the elapsed time since the first logWorkflowDuration action within the workflow. For example, for an event:
DEBUG: [0:Event Workflows housekeeping][20191002 21:08:30.208 -0400] [WorkflowEngine.js:6907] +|Even t Workflows::logWorkflowDuration: Workflow for event : APPSERVER2002:APPLICATION:AVAILABILITY: execution time = 10858ms|+
This function is available as a feature of the Workflow Engine v1.0 and later.
This function is available for event, alert, and Situation workflows.
Back to Workflow Engine Functions Reference.
Arguments
Workflow Engine function auditWorkflow
takes the following arguments:
Name | Required | Type | Description |
---|---|---|---|
| Yes | String | Optional workflow name which makes it easier to find messages in the log. |