cancel
Showing results for 
Search instead for 
Did you mean: 

Data Item to store and update variables across sessions

ManishRaw
Level 7

Is there a way in which we can store and update the Data Items present in BP across sessions? its more like an environment variable but to which we can make updates too.

This will help us in storing variables across sessions like flags, data which requires the value from the other session run that currently has to be stored in externally like in excel, notepads, etc.



------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------

12 REPLIES 12

sahana.mohan
Staff
Staff

Yes, it can be achieved easily by utilizing Environment locks's comment as global variable. Whenever we acquire or query for lock, the comments can be viewed can used across multiple sessions without need of external file.
Another way is to use Work Item in Queue, Every new session can lock the work item and update the fields and unlock for another session.



------------------------------
Sahana Mohan
Solution Designer
Blueprism
------------------------------
Sahana Mohan Lead Software Engineer SS&C Blue Prism

Babjee24
Level 7

Hi @Manish Rawat ,

After going through a series of suggestions which are sound and interesting to catch, I wish showing my card as well, as we know we can update a value in a credential we can make use of this route by allowing the first bot setting up the value for the succeeding bots which can make use of the updated value and may be at the end of the day it can updated back to original value to make a fresh start the next day. If you think of hardcoding the check is not a good practice that can also be configurable if you make use of a configuration file. This way there's no latency all the bots can read and write the credential provided a proper access and proper care taken to avoid the above discussed challenges.

Hope this fits for your requirement.



------------------------------
Babjee Vangipurapu
Senior RPA Developer
Wonderbotz
India
------------------------------

Babjee Vangipurapu
Senior RPA Developer
India

Hi Manish Rawat,

Just to add - SQL Tables are also helpful but it has their own tradeoff's As you higlighted need to explicitly perform environment locking.



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish M
Lead developer
America/New_York TX
------------------------------
-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri