Change a user variable in an analytic app by using interface tools?
- 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
I have a workflow that has a user variable used throughout and now I am wanting to turn the workflow into an analytic app. Is it possible to change a user variable using the interface tools in an analytic app? If so, could someone give me a simple example?
Thanks
- Labels:
- Interface Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @dasbell
Here is a very simple example using the Text Box and Action tools, to update a Text Input:
I've attached the workflow for you to look at; as it's an app you'll need to right click and edit as double clicking will run it.
Also have a look through the training here for more info - https://community.alteryx.com/t5/Interactive-Lessons/tkb-p/interactive-lessons/label-name/Creating%2...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @dasbell this is absolutely possible. Once you have brought the relevant interface tool onto the canvas, you just need to link an Action tool to each place where the variable occurs and needs replacing. After adding Action tools, they just need to be configured so that they ONLY replace the variable and nothing else (especially if it appears within things like formulae). See here, we have two locations where we want the entered agent name to appear so we link the Text Box where the end user will input this, to 2 Action tools that update our initial field (Text Input), and the new field being created that will act as an email sign-off:
Action tool 1 - Ensure 'Replace a specific string' is ticked so we can reduce the target down to ONLY the part we need swapped out:
Same in Action tool 2:
Now when we run the app with our end-user input:
Hope this helps - please do shout up if you need further help!
