Versions Compared

Key

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

...

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

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

     

    Image Modified
  2. Select the domain belonging to your user:

    Image Modified

     

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

    Image Modified


    The following are the base properties:

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

    2. Dataflows available: List of dataflows availables by the user

    3. Dataflow: Dataflow selected in the previous box. This dataflow is the one that will be started. If msg.dataflowIdentification has content, this will be used insted of the base property.

    4. Wait until Status: It will allow us to configura a single execution from an incoming message (none option) or a scheduled periodic polling for a status value. The options are:

      1. none: Default node behaviour. It will check the status only if there is an incoming message

      2. interval: It will check the status every time you configure since the last deploy instant

        Image Modified

      3. interval between times: It wil set a scheduled check in a crontab like manner.

        Image Modified

      4. at specific time: It will schedule one status check at a given time.

        Image Modified


        If any of the scheduled options is selected, two more properties will appear:

      5. Status: It will only generate an output if the DataFlow is in the specified status.

      6. Restart checking status after receiving a message. If marked, it will restart the scheduled status check after a msg is received. If not, the shceduled task will be done after deployment.

      7. Stop after first match. It will stop the scheduler once the given status has matched after one execution. If the schedured has stopped it will ve indicated in the node status as follows:

        1. Waiting for status/scheduler running

          Image Modified

        2. Status found/scheduler stopped

          Image Modified


  4. Run the dataflow

    Whenever a message reaches the node (or the scheduler runs matching the statuses), it will try to check the selected DataFlow’s status. The result of the execcion (and its state) will be shown in the msg.payload:

    Image Modified