Run Part of a Multi-Branch Flow
  • 23 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Run Part of a Multi-Branch Flow

  • Dark
    Light

Article summary

Goal: Due to a change in a business process, we no longer need to run the entirety of a flow we've built. Given a flow file with multiple nodes and branches, we want to only run a subset of those nodes.


High-level Task: We're given a flow file that's filtering fields out of 3 flat files, and aggregating a field in 1 of those 3 files. Create a run profile and run a job using only 3 out of 4 branches in that flow (exclude the branch that filters the flat file DailySales_Store3.csv).


Detailed Task:

  1. Open the SampleMultipleBrance.flx flow.

MultiBranch1

  1. Navigate to the Run Profiles screen by clicking on Run Profiles in the top menu bar.

MultiBranch8

  1. Create a new Run Profile by clicking the Add button.

MultiBranch3

  1. In the dialog, type in the name of the new run profile (Exclude Store 3). Click Add.

MultiBranch12

  1. Click the Active Run Profile dropdown. Select the newly created run profile.

  2. We now need to determine what the node should be disabled in this screen.

MultiBranch11

Every node ID here corresponds to the execution node, or final node, in a branch. Beyond the "Node Description" field, to determine which ID is which, click on the final node of the branch we want to disable:

MultiBranch10

Then click on the Properties tab.

MultiBranch9

  1. Click the Execute check box for the third node in the list.

MultiBranch11

The node is now disabled in this run profile.

  1. Run the flow by clicking Run

Was this article helpful?