Skip to main content
Question

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

  • May 23, 2023
  • 4 replies
  • 368 views

Forum|alt.badge.img+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

Forum|alt.badge.img+6
  • Navigator | Tier 3
  • May 23, 2023

Assign the output of python script to same variable.


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • May 23, 2023

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


Forum|alt.badge.img+6
  • Navigator | Tier 3
  • May 23, 2023

Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • May 25, 2023

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