We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Error Message Help

andrewc22
7 - Meteor

I am creating an alteryx workflow and I am making sure the field names of 2 files are the same.

 

I need to have an error message display to the user if the filter tool (filtering True if the field names are the same for both files) returns false.

 

Is this possible?

2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @andrewc22 ,

 

You can use a message tool to do that.

 

AngelosPachis_0-1613502974600.png

 

I have attached a count records tool to check if any records come out of the F output anchor of the filter tool. Then I have configured the message tool to error, if the value coming from the filter tool is greater than 0.

 

Hope that helps, let me know if that worked for you

 

Cheers,

 

Angelos

 

echuong1
Alteryx Alumni (Retired)

If you're primarily concerned with the field names, you can use the Field Info tool. This will give you a list of the fields, data types, etc. within the dataset. From there, you can simply use a Join on the field name. Anything that is common between the two will come out of the J output. Anything exclusively in one of the files will come out of the L or R output.

 

echuong1_0-1613504381795.png

 

Labels
Top Solution Authors