I am trying to implement an automation where Python script will get kicked at end of data load which will take care of my Dashboard refresh process hosted in Tableau. I have the python scripts working when I tested from VS Code. I am seeking help on how can I take the script to Alteryx designer and add as last step in my workflow, not sure if I can test the code by just dragging a Python tool. Any guidance would be helpful.
You can use the Control Container to control the sequence.
1) Enclose your current WF in a single Control Container,
2) Connect it to another Control Container
3) Put the Python tool In the second Control Container
By doing so, the Python tool will run only after main WF finishes.
As for migration of Python script from VS Code, you can copy and paste it to Jupyter Notebook in the Python tool.