Alteryx Designer Desktop Discussions

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

Dynamic Input changes path

RasmusTS
6 - Meteoroid

Hi everyone

 

Sorry if this is simple but I'm quite new to Alteryx. 

 

I'm trying to make a dynamic input tool which will input an excel file from a specific folder while dynamically changing the path to match the Username of the one running the workflow. 

I've looked at a few suggestions but I'm running into a problem because the dynamic input tool adds "Downloads" after the Username to the path even though it is not mentioned anywhere in the Workflow. 

RasmusTS_0-1668161170633.png

 

It's probably a simple mistake but I'm unable to fix it. 

 

I hope that someone can help or have a suggestion. 

 

Thank you all in advance!

 

 

 

1 REPLY 1
DataNath
17 - Castor

Hey @RasmusTS - in the Dynamic Input tool, when I first downloaded the flow, you were referencing the [Path] field here, instead of [New].

 

Because Path is set up like \Desktop... - this will read like a relative filepath and Alteryx will populate this with the directory relative to where the workflow is saved i.e. the Downloads folder for me, hence I get the same error:

 

DataNath_0-1668161667010.png

 

However, if I switch this to [New] it starts looking from the desired directory i.e. Desktop that you have specified in your Formula expression:

 

DataNath_1-1668161715728.png

Labels