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.
SOLVED

How to use an Error Message tool with a Map interface tool

TraceyD
Alteryx Alumni (Retired)

Hi, All -

 

I'd like to use an Error Message tool to make sure the user chooses a store from a Map interface tool, but I'm not sure what to put in the expression to check whether a selection was made.  (isEmpty and isNull don't work...)

 

Screen Shot 2021-01-27 at 12.57.24 PM.png

 

Thanks for any assistance!

1 REPLY 1
Maskell_Rascal
13 - Pulsar

Hi @TraceyD 

 

Instead of using the Interface Error Message tool, I would recommend using a Count Records and Message tool to throw the error when nothing is selected. 

 

Add the Count Records tool right after the Map Input tool, and then connect the Message tool to it configured as follows:

Maskell_Rascal_0-1611782221056.png

 

Now when nothing is selected, this message will pop up:

Maskell_Rascal_1-1611782279108.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Thanks!

Phil

Labels
Top Solution Authors