Start Free Trial

Alteryx Designer Desktop Discussions

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

Updating code in Python tool by action tool ?

Wojtek_Dz
8 - Asteroid

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

 

Wojtek_Dz_0-1675543249164.png

 

Thanks !

 

5 REPLIES 5
Felipe_Ribeir0
16 - Nebula

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
20 - 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
8 - Asteroid

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
8 - Asteroid

In the attachment you can find my solution :)

@AztecRoss 

AztecRoss
5 - Atom

Thank you 😊

Labels
Top Solution Authors