Like much of the Digital Platform, the workflow engine is able to write debug and trace information that can be inspected using the API Server console.
This article describes debug and trace in releases since iCM 10.0.6.0. Earlier releases can use:
in workflow script actions.
Enabling Trace
Workflow tracing is controlled by a single process variable
If the form that starts an instance of a process has tracing enabled,
Using Trace
Once tracing is enabled, you can call
For example, this script task:
Would appear in the console as:
Additional Debugging
Enabling tracing on the Workflow Worker itself allows you to inspect all of the requests made to it, and the responses it returns.
The "Data available" links reveal further details about the requests and responses, including the process variables, users involved, methods called, and information about the various tasks.