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.
RÉSOLU

Updating code in Python tool by action tool ?

Wojtek_Dz
Astéroïde

Hi, as in topic, is it possible to update the parts of code (yellow) via action tool ?

 

Wojtek_Dz_0-1675543249164.png

 

Thanks !

 

5 RÉPONSES 5
Felipe_Ribeir0
Nébuleuse

Hi @Wojtek_Dz 

 

I suggest you to update a text input tool, and import this cell inside of the python tool. Its a better option, because you can isolate exactly the field that you want to update without any more complications. I use this method a lot and it works fine.

 

Felipe_Ribeir0_0-1675543779395.png

 

 

Felipe_Ribeir0_1-1675543779389.png

 

 

Felipe_Ribeir0_2-1675543779384.png

 

 

apathetichell
Arcturus

I agree 100% with@Felipe_Ribeir0  - I have no issue with updating the R in the R tool but the nature of how Python runs on Designer allows for bleed and weird issues where it's not fully stable. I've seen the action tool work - and the action tool not work - with the same config when changing Python code parameters directly.

 

Wojtek_Dz
Astéroïde

Hi @Felipe_Ribeir0 I saw your solution in other post and thought it would not be enough for my case, but after a few tries the concept of your solution helped me find a way to get an answer to my question :) thanks !

Wojtek_Dz
Astéroïde

In the attachment you can find my solution :)

@AztecRoss 

AztecRoss
Atome

Thank you 😊

Étiquettes
Auteurs des meilleures solutions