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

Alteryx Designer Desktop Discussions

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

Workflow output path in Alteryx Server

EN6924
10 - Fireball

Let’s say I’ve created a workflow and producing the output in a temp pdf file –

EN6924_0-1666168981361.png

 

File_Output: Render (26): D:\ProgramData\Alteryx\Engine\Engine_12852_18e4745761ba436db747d0d6ae6abbec_\Engine_12856_674477fb218647f882ca21bad76a8037_.pdf

 

Then I uploaded it in the Gallery, We can view the uploaded workflow in my workspace.

 

Once I click Run, this will essentially execute the workflow in the Alteryx Server architecture. But it’s showing - It’s only showing – This workflow produced no output.

 

But how can I get the same result/the output in browser/my gallery after successful execution? Need help.

13 REPLIES 13
DataNath
17 - Castor
17 - Castor

Hey @EN6924, as far as I'm aware, when using the Render tool like this you'll need to output to an actual file/location rather than to a temporary one. This can include relative filepaths, or when you publish your workflow to the gallery, you can package the assets which will publish to an externals folder by default.

Felipe_Ribeir0
16 - Nebula

Hi @EN6924 

 

One option is to configure the output like this (Output Mode: Choose a specific output file + Output File: An generic name + .pdf). With this config when the workflow run on gallery, the .pdf file will be downloaded to your local machine automatically.

 

Felipe_Ribeir0_0-1666170287547.png

 

Felipe_Ribeir0_2-1666170618485.png

 

EN6924
10 - Fireball

Hi,

 

I modified my workflow as suggested -

EN6924_0-1666172399327.png

 

For the first time when I run it in designer, it has generated a pdf file as an output.

 

Then I saved it in my gallery and run it -

 

EN6924_1-1666172478317.png

 

The workflow result -

 

EN6924_2-1666172554297.png

 

The output file is not showing here any location indicating where it was generated, and I am unable to locate it on my local computer, whether it was downloaded automatically or not.

 

What will be the 

Need help

EN6924
10 - Fireball

Now I remodified and set an output file location -

 

EN6924_0-1666173152550.png

 

and, uploaded in the gallery -

EN6924_1-1666173195313.png

 

After uploading in the gallery, the render file location is showing like below -

EN6924_2-1666173271149.png

 

What is "_external\2" path? I mentioned different path.

 

Then, after running the workflow from the gallery, it's showing -

 

EN6924_3-1666173407113.png

 

But still I am not able to find the output file -

EN6924_4-1666173463017.png

 

It's confusing me.

 

How & where can I find the generated output pdf file?

DataNath
17 - Castor
17 - Castor

Hey @EN6924, the issue here is that the machine hosting your Alteryx server doesn't have access to your local machine and therefore can't write to the specified location. When you go to save to the gallery, if you click on 'Manage workflow assets', you'll see that the (OUTPUT) will be ticked. Here, because Alteryx can't reference your local machine where assets (inputs, outputs, macros etc) are normally found, they are instead packaged into an 'Externals' folder that Alteryx then automatically points dependencies towards. If you rely on an input file, you'll also see this in there when you publish the flow.

 

DataNath_0-1666173927134.pngDataNath_1-1666173944160.png

 

Therefore, each time this workflow is ran, Alteryx will output the Render to this 'Externals' folder. The usual play to get around this is for companies to use a shared drive that all users have access to, as well as the machine running your Alteryx server so that you, your colleagues and the server can all access files and reference them as needed in hosted workflows.

DataNath
17 - Castor
17 - Castor

Apologies @EN6924, to actually answer your question... After the workflow has ran, click on the name of it in the job list:

 

DataNath_0-1666174574505.png

 

That'll take you to a page like this where you can then download the output:

 

DataNath_1-1666174601653.png

DataNath_2-1666174641380.png

EN6924
10 - Fireball

Ok I found it -

 

EN6924_1-1666174762871.png

 

Also found the path -

 

EN6924_2-1666174821668.png

 

But the output file is not there.

 

 

EN6924
10 - Fireball

Great... Finally I found it and can able to generate the output in pdf format -

 

EN6924_0-1666175038927.png

 

Thank you very much.

EN6924
10 - Fireball

What if I have a simple Macro file -

 

EN6924_2-1666175494572.png

 

In Gallery I can't find an option to run the Macro -

 

EN6924_3-1666175609997.png

 

After saving the macro, I connected the macro in another dataset and an output file -

 

EN6924_4-1666175825982.png

 

Still in Gallery I can't find an option to run the Macro -

 

EN6924_5-1666175965685.png

 

Need to know the solution. Please guide.

 

 

Labels