Skip to content

How to Debug Alteryx Apps

Last week, I built my first app. Then, I added on to that app. As I added on to it, the app became more complicated, and I started running into problems. I reached out to the Alteryx VSC for assistance. Part of our troubleshooting processes involved debugging, which is critical to producing successful apps. If you are ever going to build an app, you must know how to debug. Read on to find out how.

Blog or Video

THANK YOU!

I want to give a big thank you to Cady Brooks with Alteryx who helped me work on my app. Cady and I know each other because she helped roll out Alteryx at SM Energy when we first started with the application. She saw my ticket come across the Virtual Solution Center and picked it up right away. Thanks Cady!

Why Do You Need to Debug

When you run workflows that are not apps, there is no need to debug. You can click on any input or output anchor to see what’s flowing thru the tool. Standard workflows contain native debugging, if you will. However, when you run a workflow as an analytic app that is not the case. Here is a screenshot from an app I built with a single dropdown. If I run the workflow as an app and select Operator 05, when the workflow completes, I don’t have anyway of seeing what happened. If I click on the output anchor of the Filter tool shown, I will get whatever went thru the tool the last time I hit the Run button, not what went thru when I ran it as an analytic app. This is why you need to debug. Fortunately, debugging is super simple.

How to Debug

Debugging happens from the Interface Designer pane. If it is not visible, go to the View menu to turn it on. Then, click on the Test View button, make your app selections, and click the Open Debug button.

What opens will be another copy of the workflow that you can run and treat like any other workflow.

In the large comment, you can see selections entered into app interface tools.

After running the workflow, data will be visible in all of the input and output anchors just like when the workflow runs as a standard workflow.

Alteryx Version

Content created with Alteryx 2020.3.

Other Alteryx Posts

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.