Question

Can the python script package interacts with other actions in automation anywhere?


Badge +4

Like for example If i use the assign action in automation anywhere to assign value 123 to a variable called textvar, I can follow up with a python script to replace the values 123 to 456 in the textvar that I created earlier and then display it in the action:messagebox?

 

Line 1 will be String: Assign action

line 2 will be Python script: Open action

line 3 will be Python script: Execute script action

line 4 will be messagebox action


4 replies

Userlevel 2
Badge +6

Assign the output of python script to same variable.

Badge +4

Assign the output of python script to same variable.

Hi Sumit,

it still gives me 123 or it gave me as true. see my recorded screen capture: https://www.awesomescreenshot.com/video/17663947?key=04ef76d420d8a075a7ec280138656d92

Userlevel 2
Badge +6

You need to use function (and input value AA->Python) and return updated value from function (Python->AA).

Refer: https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/using-the-workbench/cloud-use-python-script-to-join-a-list.html

 

Badge +4

You need to use function (and input value AA->Python) and return updated value from function (Python->AA).

Refer: https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/using-the-workbench/cloud-use-python-script-to-join-a-list.html

 

So only function will work. thanks

Reply