ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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
アステロイド

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件の返信6
Felipe_Ribeir0
ネビュラ

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
アステロイド

@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
ネビュラ

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
アステロイド

@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
ネビュラ

@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
アステロイド

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

ラベル
トップのソリューション投稿者