Skip to content

Debug and copy flows

Debug flows

To ensure correct execution and data processing of a flow, you can check the flow with a debug node. You can deactivate the debug node like an output node using the green button on the right. Deactivation of a debug node helps you to reduce the number of debug messages from multiple debug nodes.

To fully display the properties and contents of messages in the debug window, you must set the "Output" to "complete msg object" in the properties of a debug node. The debug window then shows the complete "msg-object" content, for example, can include the following fields:

  • topic
  • payload
  • _msgid

You also have the option of displaying any other property (msg.payload).

Debug window

The node ID identifies the node in the debug window. A click on the node ID highlights the corresponding node in the working area. The selection helps you associate the corresponding node with the message in the debug window. The debug window displays important information regarding the data processing and a preview of the message or array output.

The debug window can format arrays and objects in order to improve readability. For timeseries, an additional chart gets added which visualizes the time series data.

Copy flows

You have the option of copying nodes between multiple flows. For this purpose, you can select nodes in a flow and copy them to the clipboard. You can paste the nodes from the clipboard in a new flow.

Procedure

To copy a flow, follow these steps:

  1. In the working area, select the flow and copy the flow.
  2. Open the flyout menu in the main navigation.
  3. Open the "Export nodes to clipboard" window under "Export > Clipboard".
  4. Select the export parameters, for example "selected nodes"
  5. To complete the export, click "Export to clipboard".
  6. Open the flow tab where the flow is to be copied.
  7. To paste the flow, open the flyout menu in the main navigation.
  8. Click "Import > Clipboard".
  9. Click inside the "Paste nodes here" window in the "Import nodes" window.
  10. To paste the nodes, press the key combination CTRL+V.
  11. To import the flow, click the "Import" button.
  12. Place the flow in the working area.

Note

Inside an instance from VFC, nodes can simply be copied by using CTRL+C and CTRL+V


Last update: June 27, 2024