Skip to content

Tracer

The Tracer module enables remote (via flows) controlling of the tracer functionality. To enable the UI of the Tracer open the settings for Manatee and search for “Tracer”. When the UI is enabled it will show a small window (notification-style) in which output from the current flow is shown. Output includes which API functions are called, which fields are interacted with etc. The window also holds buttons to pause, resume and step forward in the flow as well as a button to pause and bring up the debug.ger window. By using this module in a flow you can control much of the same functionality.

Developer tool

Note that care should be taken using the Tracer functionality in production flows. It is primarily a developer tool.

Delay

The delay methods controls how fast your flow is running. By setting a >0 delay you can slow down your flow.

Example

javascript
// Delay each flow "step" 1s
Tracer.delay(1000);

Pause

Allows you to pause the flow. Resuming can only be done in the flow-tracer UI.

Example

javascript
Tracer.pause();

Resume

Resume a paused flow. Be aware that you can only resume a flow using this method if it is running asynchronously.

Example

javascript
Tracer.resume();

Message

Show a message in the Tracer UI.

javascript
Tracer.msg("Hello from a flow");