Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Prevent Run Command Trying to Execute Non Existent Script

$
0
0

Hi,

 

I have an Alteryx workflow that contains filters to branch data and some of the branches use the records to create dynamic script commands using the Run Command.

When there is data everything is fine, however when a filter results in zero records going down the 'true' route, the run command still fires and fails with an error as no commands have been written to the batch script.

Below is a simplified version to demonstrate the issue:

 

Capture1.JPG

Capture2.JPG

 

Is there any way of preventing the execution of Run Command or any other macro when there are zero rows to process?

 

Thank

Steve.


Viewing all articles
Browse latest Browse all 4999

Trending Articles