Creating your First Dataflow

You can create an automated dataflow using the CEM UI. Simply drag components from the toolbar to the canvas, configure the components to meet specific needs, and connect the components together.

Perform the following steps to create a simple and your first dataflow:
  1. Click the Design icon () to navigate to the Flow Designer.
    The Open Flow screen appears, as shown in the following image:

  2. Select the class you want to create the dataflow in and click OPEN.

    For example, select Class A.

    The Design screen appears, as shown in the following image:

  3. Drag the PROCESSOR option onto the canvas.
    The Add Processor dialog appears, as shown in the following image:

  4. Select a processor and click the ADD button to add the selected processor to the canvas at the location that it was dropped.

    Alternatively, you can double-click on a processor type to add it to the canvas.

    For example, add GenerateFlowFile processor.

  5. Double-click on the processor, or right-click on the processor and select Configure from the context menu to configure the processor properties.
    The Configuration dialog appears, as shown in the following image:

  6. Configure the processor properties, and click the APPLY button to apply the changes.
  7. Follow steps 3-6 to add another processor and configure the processor properties.

    For example, add LogAttribute processor.

  8. To connect the processors, hover the mouse over the GenerateFlowFile processor.
    An arrow appears as shown in the following image:

  9. Drag the arrow from the GenerateFlowFile processor to the LogAttribute processor until the LogAttribute processor is highlighted, and then release the mouse.
    A Create Connection dialog appears as shown in the following image:

  10. Select CREATE to create the connection.
  11. To change the configuration of a connection, right-click on the connection and select the Configure option, or double-click on the connection.
    The Configuration dialog opens as shown in the following image:

  12. Configure the connection properties and click the APPLY button to apply the changes.
  13. To publish a dataflow and make it available to all agents associated with its class, select Publish from the ACTIONS drop-down menu on the canvas.
    The Publish Flow dialog appears as shown in the following image:

  14. Enter comments if desired, and click PUBLISH.

For more information on the above actions, see Building a DataFlow.