We're excited to announce that we'll be partnering with Credly starting October 19th - see what this means and read the announcement blog here!

Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

DE28799: Duplicated workflow with Python tool causes code to be overwritten

clarab
Alteryx
Alteryx
Created

Environment Details

Making a copy of a workflow that contains a Python tool will cause the JupyterGuidDir to be duplicated. Because of this reason, both copies will point to the same Jupyter Notebook document. If changes are made on one copy, the other will be changed too.



 

  • Alteryx Designer
    • Version(s): >= 2020.2.


Cause


Making a copy of a workflow that contains a Python tool will cause the JupyterGuidDir to be duplicated. Because of this reason, both copies will point to the same Jupyter Notebook document. If changes are made on one copy, the other will be changed too.



Resolution


Solution A

Upgrade to Alteryx Designer 2021.3 where the issue is resolved.
 

Solution B


Use any of the following solutions to prevent the Python code in the workflows from overwriting each other.

  1. In the copied workflow, place a new Python Tool onto the canvas and copy the code over manually.
  2. In the copied workflow, copy the Python Tool (use Ctrl-C) and paste it on the canvas. Remove the old Python tool. The new Python Tool will have its own JupyterGuidDir.

 



null
No ratings