To be able to perform traces on workflows in Desktop, there must be at least one Conditional Trace template defined.
...
You can create templates for any real-time workflows, where giving you will get results for all agents in the workflow, but and you can also use the trace() APL function in Analysis or Aggregation agents to get results on specific data.
...