Skip to main content

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!

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. 


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


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.


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.

Thank you for the suggestion. In the end, I had to do it, although I don't like it. For future projects with AA, I will include a database in the scope. I can't believe the values can't be dynamic.
 

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

My organization doesn't easily allow us to use third-party solutions, but yours is the best approach and should be integrated as a feature in AA


Reply