Error Message Tool to use with an existing field
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
https://www.linkedin.com/in/adriley/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So when you run the attached you get a message in the output window
If you change the Message Type to error it becomes an error:
Is that what you wanted or did I misunderstand?
https://www.linkedin.com/in/adriley/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
https://www.linkedin.com/in/adriley/
