Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this tutorial, we will show see how to stop a DataFlow from the FlowEngine.

We will be using To do this, use the node “Stop Dataflow“ on the “Onesait Platform Dataflows““ Dataflows“ category,

...

Let's see how we you can use that node. To do this, we will follow the following these steps:

  1. Select the "FlowEngine Management" option from the menu:

     

...

  1. Image Added

  2. Select the domain

...

  1. you want to work on:

...

  1. Image Added

     

  2. Once you are in the domain, drag a node of type "Stop Dataflow" to the flow and double click on it to see its configuration properties.

    Image Modified


    The following are the base properties:

    • Name: The name that you want the node to have when viewing it within the flow.

    • Dataflows available: List of dataflows

...

    • available to the user.

    • Dataflow: Dataflow selected in the previous box. This dataflow is the one that will be stopped. If msg.dataflowIdentification exists in the incoming message and it has content, this value will be used insted of the base property.

  1. Run the dataflow
    Whenever a message reaches the node, it will try to stop the selected DataFlow. The result of the

...

  1. operation, and its state

...

  1. , will be

...

  1. returned in the msg.payload:

...

  1. Image Added