on 10-13-2016 03:27 PM - edited on 07-27-2021 11:35 PM by APIUserOpsDM
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 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:
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!
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!
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:
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.
"By now, you should have expert-level proficiency with the Action Tool!"
With all due respect, this covers the simplest 2 of 19 action types... literally slightly above 10% of the tool's capabilities. Any chance you could dive a little deeper into some Action Tool Mastery for a couple of the more complicated methods, such as Update Raw XML with Formula or Update Field List or Update Select with Reverse Field Map ?
Kindest Regards,
Taylor Cox
Hi All,
Just adding a note for anyone that may be looking fore more resources on the action tool. There is a one tool sample installed starting in version 11.7 that contains some additional configurations for the action tool.
Thanks,