Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Do not want my output file to be updated if no records

TANIJD2021
7 - Meteor

Hi All,

 

I have the below workflow and I want the output file to stop updating if there are no new records.

 

Right now it is updating my excel output every time I run it.

 

TANIJD2021_0-1662145961815.png

 

7 REPLIES 7
michelle_mathews
Alteryx Alumni (Retired)

Hi @TANIJD2021 , there is a workflow example in this community post which should help solve your problem! 

TANIJD2021
7 - Meteor

Hi  michelle_mathews

 

What should be the condition for the test if I want to check that there are no new records in the file?

 

Thanks,

Tani

 

flying008
15 - Aurora

Hi, @TANIJD2021 

 

Maybe you can try this tool option:

 

flying008_0-1662163188251.png

 

TANIJD2021
7 - Meteor

But what condition should i give here in the below tool

TANIJD2021_0-1662220814711.png

 

Emmanuel_G
13 - Pulsar

Hi @TANIJD2021 ,

 

Find attached a solution to this issue.

 

I used the message tool to stop the records in the downstream tools based on condition on the records.

 

You can see the configuration in the workflow attached.

 

Emmanuel_G_0-1662237534378.png

 

TANIJD2021
7 - Meteor

Hi Emmanuel_G

 

Thanks for your help.

 

I want that when there is the same number of records the next time I run the flow it should give an error and stop updating the output file.

 

Like if there are 2 records and again the next time I run the flow there are the same number of records then it should error out and not update the output file, right now I can run your sample workflow a number of times without an error with the same number of records.

 

The request here is to not update the file when there is the same number of records.

 

Thanks,

Tani

Emmanuel_G
13 - Pulsar

Hi @TANIJD2021 ,

 

In this case, you can edit the formula in message tool with the number of records of some input file as configured below.

 

Emmanuel_G_0-1662280146474.png

 

Labels
Top Solution Authors