Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Error Message Tool to use with an existing field

mathias_schnoor
11 - Bolide


Hey,

it is possible to use the Error Message Tool with an existimg field in my macro.

I want output an error message if a defined field has a given value.

I did not see an other way only to use the Error Message tool together with an Interface Tool like Date Tool.

Mathias

5 REPLIES 5
AdamR_AYX
Alteryx Alumni (Retired)

Hi Mathias,

 

I think you want to use the "Message" tool (in the developer category).  Use the "Before rows where expression is true" option to test your field value and set the message type to error.

Adam Riley
https://www.linkedin.com/in/adriley/
mathias_schnoor
11 - Bolide

Hey Adam,

 

I have try to use the Developer>> Message Tool.

 

But no configure message is to be display!

Where is my problem of understanding?

 

Mathias

AdamR_AYX
Alteryx Alumni (Retired)

So when you run the attached you get a message in the output window

 

Message.png

 

If you change the Message Type to error it becomes an error:

 

MessageError.png

 

Is that what you wanted or did I misunderstand?

Adam Riley
https://www.linkedin.com/in/adriley/
mathias_schnoor
11 - Bolide

Hey!

Thank you for your support.

I am looking for a solution where the message will appear in the workflow file where the macro (whitch generate the message) is include as a modal dialog or so.

 

Like the Error Message Tool:

http://help.alteryx.com/9.5/Error.htm

 

The message is written in the messge menu but anyone advises that, I too ;-(

 

Is this possible in alterxy.

 

Mathias

 

 

 

 

AdamR_AYX
Alteryx Alumni (Retired)

Ah so you want a messsage box to pop up?

 

The Error Message tool actually only pops up when it is run as an App.  When it is in a macro it appears in the output window the same as the message tool.

 

I'm afraid there is no built in way to make a message box pop up.

 

It you wanted to try and build a custom solution you could try a vbs script run using the "Run Command" tool.

Adam Riley
https://www.linkedin.com/in/adriley/
Labels