Trace File

While debugging workflows, whenever a workflow is executed, a trace file is created in the $MQ_COMMON_DIR/Temp directory. Using this file, you can gain a good understanding of what happened in the workflow.

This trace file logs the process selection and transition details. It includes details such as:

  • All process selections details. For example, which workflow is selected, what were the selection inputs, and so on.
  • The workflow definition.
  • All transition details. For example, which transition is selected, input and output parameters of the transition, and so on.
  • The In and Out states of each activity executed in the workflow.
  • All actions taken. For example, abort, timeout, suspend, and so on.
  • Important object IDs. For example, event ID, process ID, process log ID, and so on.
  • Exceptions, if any.

Disable Tracing

A trace file is generated by default. To disable the generation, use the Configurator option Workflow Settings > Workflow Trace Enabled.

Download Trace File

The trace file can be downloaded from the event header division of the Event Detail screen.

The Download link is present only if a trace file is present, as it may not be present for older events and will be deleted from the temp folder.