Test Your First Flow

Test Your First Flow

Test Your First Flow

You now have a Flow and in most cases you want to first test your Flow before actually deploying it. This can be done by setting up an interactive session from within the Flow Studio editor. This will temporarily deploy your Flow on a selected Node and lets you use the tools within the editor to test your Flow.

Your account comes pre-installed with a Sandbox. A Sandbox is a test Node hosted by Crosser. These are only available from within the Flow Studio and are intended to be used for testing Flows that don't require access to local systems. Flows cannot be deployed permanently to these Nodes, since they will be closed down when a remote debugging session ends. If you have registered your own Nodes (Please see Node installation for more information) these can also be used for remote debugging.

Follow these steps to setup an interactive debugging session:
  1. In the Flow Studio, open the debug panel by clicking on  in the menu bar on the right side. This panel has two tabs, Connect and Debug. On the Connect tab open the Sandbox section and click on connect. Once connected you will see the Node name to the right above the debug panel, together with start and stop buttons.

  2. Start the Flow by clicking on the start button in the upper right corner. The Flow will now be downloaded by the selected Node, which is a sandbox in our case, and when the Node has started executing the Flow the debug panel switches to the Debug tab.

  3. The Debug tab is where you can see messages produced by your modules. You choose from which modules you want to see messages by toggling the debug state on each module. Hover with the mouse over a module and click on the debug button () to toggle debugging on/off. Enable debugging on the Data Generator and Aggregate modules. You should now see the messages from these two modules in the debug panel.
    In our test Flow you should see five messages from the Data Generator and then one Aggregated message for these five messages. (Since our settings was to aggregate over 5 messages).


Now you have built and tested your first Flow, time to take a look at some more features in the second example. Or if you want to go straight to the final step and see how you deploy a Flow permanently into a Node here.
    • Related Articles

    • Flow to Flow communication

      Introduction One of the benefits of the Crosser solution is that you can deploy multiple flows (processes) into one existing container. Due to that, you can add new use cases without influencing running processes at the edge, even without restarting ...
    • Creating Your First Flows

      Create Your First Flow In this guide we will start by creating a basic example Flow. It doesn't connect to any external system, the goal is just to get you familiarized with the concept of building and testing Flows. We will use an internal data ...
    • Flow Parameters

      Flow Parameters Flow Parameters address the following two use cases: You want to use the same flow on multiple nodes, but some settings are different You use the same setting in multiple flows, e.g. credentials for access to some external service, ...
    • The Flow Studio

      The Flow Studio If you are using Flows built with previous versions of the Flow Studio, please check the "Using Flows built with the old Flow Studio" section below. The Flow Studio is the design tool you use to build and test flows. This is a drag & ...
    • Deploy Your Flow

      Deploy Your Flow These steps does not apply to a Sandbox, you cannot deploy a flow to a Sandbox. In order to be able to deploy a flow to a Crosser node you first need to have registered your nodes. (Please see Node installation for more information) ...