You are here: Decision Strategy Manager > Data Flows > Creating a real-time run for data flows

Creating a real-time run for data flows

You can create real-time runs for data flows that have a Stream data set as the primary input. Data flow runs that are initiated through the Data Flows landing page process data in the access group context. They always use the checked-in instance of the data flow rule and the referenced rules.

  1. Click Designer Studio> Decisioning > Decisions > Data Flows > Real-time processing.
  2. In the Real-time processing tab, click New.
  3. Specify the Applies To class, the data flow name, and the access group.
  4. Specify the URL for external access and the number of requestors.
  5. Optional: Click the Advanced section.
    1. Specify a pre-processing activity that you want to run before running of the data flow.

    2. Specify a post-processing activity that you want to run after running of the data flow.

      Each activity is located in its Applies To class.

  6. Optional: For data flows that contain an event strategy rule, configure how to save the state of your data flow work items in the State Management section:
    1. Specify the persistence type:
      • Memory - This persistence type keeps the event strategy state in running memory and writes the output to a destination when the data flow finishes running. The data is processed faster, but it can be lost if a system failure occurs.
      • Database - This persistence type periodically replicates the state of an event strategy to the Cassandra database located in the Decision Data Store and stores it in the form of key values. When you select this type of data persistence, if a system failure occurs, you can fully restore the state of the event strategy and continue processing data.
    2. Specify the frequency for storing the state of the event strategy:
      • Enter the elapsed time (in seconds) between the consecutive event strategy store operations.
      • Enter the number of events between the consecutive event strategy store operations.
  7. Click Done.
  8. In the Run details window that opens, click Start to run your data flow. The Run details window contains the progress and statistics of your data flow work item.