Conditional Bypass of Components in a Flow Run (Skip Component)

This feature supports finer control of a flow run. It can be specified whether a component has to be skipped or run as part of the flow run, based on the custom conditions in the component's test data in the flow. The feature can be used to selectively run or skip one or more components based on the outcome of the previous component step or based on the Flow Test Data set that is used, as part of the flow run.

To bypass/skip the running of a component within a flow:

  1. Login to the application and navigate to the Flows tab.
  2. On the left navigation pane, right-click the flow name and select Create/Update Flow Structure.
  3. On the right pane, expand the flow structure.
  4. Right-click a component and select Edit Test Data.
  5. In the component's Test Data section, click the Pre-Validations tab.
  6. Add the “skipStep” function from the “CoreUTAOps” library. Set the test data to “true” so that the component may be skipped during the flow run.
  7. If the component should not be skipped during the flow run, set the test data for the function to “false”.

Multiple test data sets can be used to set different test data for the function making sure that the specific components in which the function exists may be skipped or run based on the input to the function.