Upgrading Server to version 22.1? We’ve enabled the faster AMP engine by default. Read about how these system settings changes might affect you.

We’re aware of an issue with email notifications. If you notice you’re not receiving emails from the Community, please check your SPAM folder and release the emails. This should temporarily resolve the problem while we work behind the scenes to solve the larger issue with our mail sender. Thank you for your patience!

Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

Export Workflows with Attachments (Assets)

MattD
Alteryx Community Team
Alteryx Community Team
Created

Question

How can I share my workflows if my recipients don’t have the same files they reference? Sending them all over separately and reconfiguring inputs separately seems like a lot of work. Halp!

Answer

You’re right, that does sound like a lot of work. Luckily, we have an export feature to help with this exact scenario:

1.png

Navigating in your Designer to Options >> Export Workflow will open a menu where you can include assets that are referenced in your workflow and export them into a single .yxzp file to be shared. Feel free to select whichever files you’d like to include – if a file is missing, try attaching an additional asset/file to the tool it’s associated with. At that point it should appear in your export options:

2.png 3.png

Note: If your workflow uses a database connection, your recipient will need to either 1) have a DSN set up (system preferred) for the connection string used or 2) use the same alias to establish a connection in their environment.

After you select the files to be included, select “Browse” to specify the location and name of the export:

4.png

You should be all set! Share this export with your files included.

5.png

To open an exported workflow, simply File >> Open Workflow >> Browse in Alteryx or double click the green .yxzp file like any other Alteryx file type:

6.png 7.png

You should then see a prompt stating that the file is an Alteryx Package; just hit “Yes” to begin the import:

8.png

You’ll then be given the option to change the directory that the export is extracted to; below that option you will see the exported files listed with their locations relative to the destination directory:

9.png

Select “Import” to proceed:

10.png

Once the export has successfully extracted, you will be given a notification that the import process has completed. Select “Yes” and your exported workflow should already be loaded and ready to run!

No ratings
Comments
aeulusan
7 - Meteor

Hi @MattD ,

 

Thanks for your explanation. I have been using this export workflow for long but now I have a new ask from the user of my workflow. Instead of having _externals\ and 1\ , 2\ , 3\ folders, can we name them differently?

9.png

MattD
Alteryx Community Team
Alteryx Community Team

Hi @aeulusan! Unfortunately this is a default setting that is not yet able to be customized. However, if you'd like to gauge interest and add the feature to our product development team's radar, please feel free to post this functionality in the Ideas board!

hannahroper
6 - Meteoroid

If I package my input files, will this affect my original files at all? Or is it just a way for someone else to view them in the workflow?

Blake
12 - Quasar

Hi @hannahroper - your question is many months old at this point but maybe you're still looking for the answer. 

 

"If I package my input files, will this affect my original files at all?" - No. This will make a copy of your files and include them with the package. Think of it as creating a Zip file with everything needed to run a workflow. 

 

@aeulusan your question is many months older than Hannah's but I think I have an answer you are looking for. 


Yes, you can rename the folders that are included in your packages. You just have to be strategic about the placement of your assets relative to your workflow. If you nest your assets in the same folder as the workflow, they can be packaged/unpackaged to those relative locations. I'm not able to attach a .yxzp on this post but PM me and I can send you the example workflow/package that I have cooked up. See the screenshots below for how I have the folder structure set up. My original workflow was saved to the .\Community stuff\package_example sub-folder. 

 

package5.png 

 

In the screenshot above, I have 5 files being written to or from 5 folders. I then package my workflow like normal but since I'm working inside the same folder that the workflow "lives" in, Alteryx is going to keep the folder structure that you have instead of creating the "external" structure. The only reason Alteryx creates the external structure is because it needs to make a relative place for these assets to live. 

 

package3.png

 

The screenshot above is the import screen of my package that I have created. I did not modify anything when I exported to workflow but did rename my .yxzp to Openexample

 

The final screenshot (below) is a picture of the folder structure that is created after unpackaging this .yxzp. 

 

package4.png

Thanks, let me know if this helps!