We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Render Tool Issues When Workflow Executed Via API

Noah-Waite
6 - Meteoroid

Hi All,

 

For context, our organization is running version 2024.2.1.14.

 

My current application creates a report via the the Render tool (configuration settings below), and then the report is included as an attachment within an E-mail tool. When executed within Designer, the results appear as expected. A new report is saved within the referenced folder, and the same report is received via e-mail. This also occurs when executing manually within the gallery.

 

When I execute the workflow via API, I receive the e-mail I would expect, with the updated report; however, the new report is not saved within the referenced folder. It would appear it is only creating a temporary report in this case.

 

Any clue why this might be occurring? The API response does not indicate any errors.


Thanks in advance.

 

Capture.PNG

1 REPLY 1
abacon
12 - Quasar

@Noah-Waite When you saved the workflow up to the server, did you click manage workflow assets and make sure the file path for the output file was deselected?

 

If you leave it check when saving, it will include the file in the packaged file up to the server. If you leave it unchecked, it will keep the referenced file path.

 

This means 2 things: Your server has to have access to the file path you are trying to write to, AND you must have the UNC path defined for the output so the server knows exactly where to look

 

Helpful Links:

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Manage-Workflow-Asset/td-p/117...

https://knowledge.alteryx.com/index/s/article/Assets-and-Packaging-Workflows-1583460636757

 

Bacon

 

Where to Change to UNC PathWhere to Change to UNC PathSetting to UNC PathSetting to UNC PathWhere to get to Workflow AssetsWhere to get to Workflow AssetsDeselect the desired file pathDeselect the desired file path