Skip to main content
Question

Can you use variables created in a bot in a python script?

  • June 22, 2022
  • 1 reply
  • 400 views

I am trying to use a python script to move files from one folder to another. In the bot, I have it set up in a loop with the 'file in folder' condition where the file name and extension are saved as variables, and I want to use these variables when writing out the source and destination paths in my script. Is there any way that I can use these variables in a python script without needing to explicitly say what the name and extension of the file I'm trying to move is?

 

Any help would be much appreciated.

1 reply

Forum|alt.badge.img+11

Hi @Austin Dugas​ ,

 

As you have not mentioned the specific product version, assuming that you are using A360, currently we do not support using the variables in the Python script, however, the same is in roadmap and would be implemented in future releases of A360.

 

If you have any further queries then kindly create a support case.

 

How to create a support case :

https://apeople.automationanywhere.com/s/article/How-to-create-a-support-case-in-service-cloud

 

If you don't have access to the above link, email the AA Support team "apeopleopsteam@automationanywhere.com" to get the access.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings