This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
This article is part of the Tool Mastery Series, a compilation of Knowledge Base contributions to introduce diverse working examples for Designer Tools. Here we’ll delve into uses of the Action Tool on our way to mastering the Alteryx Designer:
There’s a lot going on in the world of analytics. Endless data stores and insight are at the other end of an internet connection and, as analysts, we’re always in on the action. Being in the thick of the fray with data whizzing by at lightning speeds, being equipped with the right tools is a must. Like you, Alteryx also likes to live dangerously, and we’re always ready for action.
Alteryx: Always ready for action
Easily the most commonly used interface tool, the Action Tool performs an update on a tool within an app or macro - usually in the form of changing initialized tool values, enabling or disabling tool containers, or deleting tools altogether:
Nearly every other interface tool can interact with the Action Tool as well, with the anchor accepting zero to many input user values and the anchor linking the update to a condition evaluated upon run time. The anchor then links the Action Tool to the target tool to be updated. Since there’s no shortage of combinations for target tools and input variables, the highlight reel of the Action Tool isn’t specific to any one tool. Lights, Camera, Action!
Update specific strings in tool configuration
If you have “Update Value” selected and “Replace a specific string:” is checked off in your configuration options, the string that remains in the following line of text will be the exact string replaced in the selected value. It will be replaced by the value entering the input of the Action Tool:
Just run the attached app, Action Tool.yxwz, to see the result of the above!
Update tool values from formulas (multiple input example)
Similar to string replacement, you can select “Update Value with Formula (Default)” to replace a target tool attribute with a formula that can use all the same functions of the Formula Tool. This will, however, update the entirety of the specified attribute with the result of the formula entered, often using the anchor to incorporate user input values from other interface tools:
By now, you should have expert-level proficiency with the Action Tool! If you can think of a use case we left out, feel free to use the comments section below! Consider yourself a Tool Master already? Let us know at email@example.com if you’d like your creative tool uses to be featured in the Tool Mastery Series.
Stay tuned with our latest posts everyTool Tuesdayby followingAlteryxon Twitter! If you want to master all the Designer tools, considersubscribingfor email notifications.