Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Debugging of workflow in Alteryx

rohit782192
11 - Bolide

Hello Champ,

 

How we debug the code line by line written in Java and Python, Similarly is there a way to debug the Alterxy Workflow.

Component by Component Where is the issue.

 

Support with a workflow is needed.

11 REPLIES 11
AngelosPachis
16 - Nebula

@rohit782192 I believe you can achieve that by analysing one tool at a time, from the workflows input to the workflows output. As Alteryx does the coding for you whilst you bring tools on your canvas, it won't have the same feel as debugging in Java or Python but the logic should be the same

rohit782192
11 - Bolide

There is an option in Developer section but i am not sure how to use, 

danilang
19 - Altair
19 - Altair

Hi @rohit782192 

 

There is no way to step through the code and examine variables the way you can in traditional programming languages.  Instead you can use these techniques

 

  • Use browse tools when developing to examine the output at any step in the process
  • look at the input and outputs at each tool the find where the issue might be occurring.  Consider using a binary search here.  Look a tool halfway through the workflow.  Are the values correct?  if yes, look a the value in a tool 3/4 of the way through.  If not, look 1/4 of the way from the start.   Keep looking at  tool 1/2 from where you are to the previous tool you checked
  • Use the Message tool (Developer palette) configured using "Before Rows Where Expression is True" to signal when a value changes. 

Dan

rohit782192
11 - Bolide

I need some valid and working solution

danilang
19 - Altair
19 - Altair

@rohit782192 

 

In Alteryx debugging, there is no single option or tool to give you a "valid and working solution".  There is only the process that you apply analyzing each tool in turn until you find where the error is occurring.

 

Dan

rohit782192
11 - Bolide

Not Satisfied with the answer

NeilR
Alteryx Alumni (Retired)

@rohit782192 you're in luck - we have a series of interactive lessons on debugging workflows, check them out here: Troubleshooting

CathyS_Slalom
9 - Comet

@rohit782192 

If you already built your workflow and wants to debug what's not working properly, you could go to your results window and check from there by going thru the Errors, Conv Errors and Warnings messages to debug. And you can click the corresponding tool from the message, it will direct you to that specific tool in your workflow.

cathyshi525_1-1645202374397.png

 

 

rohit782192
11 - Bolide

Here we cant't apply breakpoint.?

Labels
Top Solution Authors