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.
![1.png 1.png](http://pvsmt99345.i.lithium.com/t5/image/serverpage/image-id/9471iDB1F9E89642FE25F/image-size/original?v=v2&px=-1)
Alteryx: Always ready for action
Easily the most commonly used interface tool, the Action Toolperforms 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:
![2.png 2.png](http://pvsmt99345.i.lithium.com/t5/image/serverpage/image-id/9472iD750DEC1F3D0F6BE/image-size/original?v=v2&px=-1)
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:
![3.png 3.png](http://pvsmt99345.i.lithium.com/t5/image/serverpage/image-id/9478i86370611B5C7AE1E/image-size/original?v=v2&px=-1)
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 functionsof 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:
![4.png 4.png](http://pvsmt99345.i.lithium.com/t5/image/serverpage/image-id/9479iBA31295AB756B156/image-size/original?v=v2&px=-1)
This example is also attached.
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 community@alteryx.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.