AddTraceLog

You can use this function for Optiva Workflow, Copy Methods, Equations and script hook events.

Purpose

Adds a new entry to the FsActionWIPTrace and FsObjectSymbolTrace tables.

Syntax

Public Function AddTraceLog(ByVal Message As String) As Integer

Description

Calling this method from within a workflow will add a new entry to the FsActionWIPTrace. These tracing records are visible on the Workflows in Progress page > Performance Tracing report. Calling this method from an object hook script, Equation, or Copy Method, will add a new entry to the FsObjectSymbolTrace table. These tracing records are visible on the Symbol page > Performance Tracing report.

A new check box has been added to the Action Set, Equation, Copy Method and Symbol pages called Enable Tracing. Enabling the check box will have Optiva record an entry to the related tracing table when the particular call to that script has completed. This can be used in conjunction with the new AddTraceLog command.