Creating Flows


An integration flow is made up of a series of nodes that processes data for the integration of devices across enterprises and organizations. Integration flows can be used for various purposes such as data forwarding, converting instruction formats for communicating between different devices, etc.


This section shows how to create an integration flow.

Prerequisites


Step 1: Create New Flow


There are two ways to create an integration flow.

Create from Scratch


  1. Log in to the EnOS Management Console and click Device Data Integration > Flow Designer for cloud/remote flows or Device Data Integration > Integration Agent for remote flows from the left navigation menu.
  2. Click New Integration Flow.
  3. Click Create from Scratch. Enter the flow name and description, and click OK.

Create from Template


There are two ways you can create a flow from an integration template.

  1. From Device Data Integration > Flow Designer (cloud/remote flows) or Device Data Integration > Integration Agent (remote flow).

    • Click New Integration Flow.
    • Click Create from Template. Select an integration template from the drop-down, enter the flow name and description, and click OK. Existing integration templates can be viewed at Device Data Integration > Integration Templates.
  2. From Device Data Integration > Integration Templates

    • In either of the three template type tabs, click the integration template to create the flow from. You can toggle between cloud and remote flow templates by selecting Cloud Flow or Remote Flow from the top right drop-down.
    • Click the Create Flow from Template icon at the top of the design canvas, edit the flow name and description, and click OK.


    ../_images/create_from_template.gif

Step 2: Design the Flow


You will enter the Flow Designer page with a blank canvas if a flow is created from scratch. If created from an integration template, the canvas will show the nodes of the flow, which can be edited as per needed.

  1. Drag and drop a node from the list of nodes on the left.
  2. Configure the node settings on the right panel. For more information about each node’s settings, see List of Nodes.
  3. Repeat both steps above for the other nodes for your flow. If you need to delete a node, select it and click its Delete icon delete.
  4. Connect all the nodes to make a flow. To connect two nodes, drag a line from a node’s exit point to another node’s entry point. To delete a connector, click on it and press “Delete” on your keyboard. Note that some nodes do not have an entry or exit point. These nodes are used as the start or end nodes of a flow.
  5. You can click Undo or Redo during the creation process.
  6. For cloud flows, you can toggle on the Debug switch on the top right to record the logs of the nodes in the flow. Node logs are stored for a maximum period of 7 days. For more information on logs, see Viewing Cloud Flow Logs.
  7. Click Save to save your flow.


../_images/creating_flow.png

Results


The created flow is now in the list of flows at the Flow Designer page, which shows the list of cloud flows by default. To change to the list of remote flows, select Remote Flow from the drop-down at the top right.