Question

How to increase the base value of a variable and save it for a next run

  • 1 August 2023
  • 3 replies
  • 66 views

Badge +1

Hi everybody I would like to know if it is possible to increase the base value of a variable each time I run the bot, for example: 
If I run the bot and the base value of the variable is 55, i need to increase the base value in one, so in the next time I run the bot the base value of the variable should be 56. 
How do I get that


3 replies

Badge +1

Im new here but my guess is by using Global Values.

I dont know if they are available in Community since its unavailable right now so i cant check if i can use them.
https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/using-variables/cloud-global-variables.html

Badge +1

I dont know if they are available in Community

Badge +1

Actually I used a global value but that didn’t work, but thanks anyway, I already resolved it. What I did was:

  1. I created a excel with the row counter values
  2. I extracted the row counter values
  3. I used the row counter values to set the information I needed
  4. I increased the row counter values using the increment action
  5. I opened the excel I created and I set the new row counter values then I saved the new value and that’s it!

 

Reply