Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Replace RUN command tool

NiranjanK1
8 - Asteroid

Hi All, 

 

I have used run command tool in workflow, but now internal server team confirmed we are not supposed to use run command tool in alteryx. Is there any other can I use. I want to use blow configuration.

20230809_135338.jpg

 

Thanks in advance 

Niranjan 

6 REPLIES 6
Felipe_Ribeir0
16 - Nebula

Hi @NiranjanK1 

 

Usually the same thing that can be done with the command tool also can be done with the python tool. 

 

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Knowledge-Base/Tool-Mastery-Python/ta-p/19...

NiranjanK1
8 - Asteroid

@Felipe_Ribeir0 thank you, im new to python is there any reference sources I can refer to build python to replace run command tool. Thanks for quick response 

Felipe_Ribeir0
16 - Nebula

Not that i know unfortunately.

 

What task your cmd code is performing?

 

Here are some examples of how to interact with python inside of Alteryx if you want to take a look:

 

Unzip files with python

https://community.alteryx.com/t5/Community-Gallery/Unzip-zip-and-yxzp-files/ta-p/1161434

 

Delete files with Python

https://community.alteryx.com/t5/Community-Gallery/Delete-Files/ta-p/1005983

 

Move files between folders with python

https://community.alteryx.com/t5/Community-Gallery/Move-files-between-folders/ta-p/998936

 

NiranjanK1
8 - Asteroid

@Felipe_Ribeir0 I just want to build same configuration of attached image. I want to build below configuration in python. 

20230809_135338.jpg

Felipe_Ribeir0
16 - Nebula

@NiranjanK1 yes, but this cscript is performing some specific task with these arguments, right?

 

You gonna need to translate this task to python language.

NiranjanK1
8 - Asteroid

@Felipe_Ribeir0 thank you I will try to update the python.

Labels
Top Solution Authors