Alteryx Designer Desktop Discussions

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

Invalid Message Type

LFerg
6 - Meteoroid

I've made a macro where, as part of it, I want to update the Message Tool so you can specify if you want a message or an error etc. 

It works fine for the one word types, but when I try to add any of the values that are more than one word I get the error "Invalid message type when I try to run the macro.

 

Below you can see the message types that should be available:

LFerg_0-1671050321241.png

 

My setup in the Drop Down interface tool:

 

LFerg_1-1671050412127.png

 

 

As mentioned, Message, Warning and Error work fine, but anything with more than one word just throws an error (and not the one it's meant to)

 

LFerg_2-1671050606467.png

 

I would love if someone could shed some light on this. 

Attached you can find the macro and an example workflow.

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi @LFerg if you add :ErrorStop to Error and Stop Passing Records Through this tool it works. The Dropdown Interface tool has the option for Name:Value and by changing the Message tool within your macro to "Error and Stop Passing Records Through This Tool" in the dropdown I could see the value was ErrorStop in the Action tool that you were using to replace the value with.

 

Message_14122022.JPG

Action Tool configuration

 

Message_14122022_V1.JPG

LFerg
6 - Meteoroid

Thank you so much Joseph!

Labels