Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Why is this piece of the workflow even running?

craigja
8 - Asteroid

See the screenshot - the field RiskMeasureType is blank/empty, so doesn't = NET_CS01, so why is the XML Parse tool trying to do something? 

craigja_0-1667210039946.png

 

 

3 REPLIES 3
binuacs
20 - Arcturus

@craigja What is the error you are getting when you click the XML parse tool?

craigja
8 - Asteroid

Says it cant find the XML its looking for

 

DataNath
17 - Castor

@craigja unless parts of your workflow are put into containers that are disabled etc. then Alteryx will try to pass data through all tools. The issue you have is of course there is no data to pass through, although the XML Parse tool is expecting there to be, and you therefore receive an error.

 

If this is a supervised workflow (i.e. not scheduled), you may want to look at using a detour, whereby you can change the course of the workflow if that field isn't present. I've mocked up a very quick example here where I've set up one of the detour streams with an expression that won't work (because the [Employee] field isn't present). However, you'll notice no error because within the detour tool, we tell Alteryx to follow the path of the left detour anchor:

 

DataNath_0-1667212655009.pngDataNath_1-1667212663567.png

DataNath_2-1667212672897.png

 

If we then switch this so that the workflow detours to the right, the expected error message will reveal itself as Alteryx now expects to stream data through this and, as mentioned previously, the [Employee] field is missing:

 

DataNath_4-1667212748695.png

DataNath_5-1667212757649.png

 

Hope this helps at least a little!

Labels