Skip to main content
Question

Is there a way to update a global value or store a tracking value?


Forum|alt.badge.img+1

Hello,

I need to track the last ID value from a JSON response item for a process. The ID is incremental, but I cannot find a way to store and share it across processes within the control room.

I have tried using global values and even credentials, but after searching through forums and documentation for an hour, I still haven't found a way to do this without relying on an external source rather than an Automation Anywhere (AA) integrated solution.
What I need is to have a way to keep an ID value which will be updated by bot at some step in the middle of the process, in a nutshell: an asset. And if I run it later retrieve that value to use it. 

I would really appreciate any guidance or suggestions on this. Thank you in advance for your help!

3 replies

Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 3 replies
  • March 20, 2025

I'm afraid I'll need to use a queue as a way to store a single tracking number, but that's fine.

UPDATE: In the way queues works in AA this approach is not an option. 


Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 58 replies
  • March 20, 2025

Try this to update credential:

https://botstore.automationanywhere.com/bot/credential-utilities


Required: Either credential owner or "View and edit ALL credentials attributes value" permission role


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 514 replies
  • March 20, 2025

Another possible solution would be to write the value to a file and have the other processes read the file. It doesn’t even have to be a database… just a regular text file will do. You would need somewhere to store the file, such as a network share.

If you have access to a database instance, that would be another possibility. Just use SQL to update the value in the database and have the other processes read that value.


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