Using Session Property for Barcode scanner

Hi,
Please, is it possible to temporarily store the scanned barcode to a session property for multiple users to scan using their mobile device and save to the the database simultaneously?
I am currently saving the scanned barcode to the memory tag(which isn’t client based) at the moment as seen in the below screenshot.

Your question isn't very clear. Could you perhaps break it up into smaller required pieces or more clearly describe what it is you are trying to do?

You could use system.util.sendMessage(project="<projectName>", messageHandler="BARCODESCANNED", payload={'text': data.text}, scope='S') to "broadcast" to other sessions what data was scanned. You will then need to configure a Message Handler for the Session which uses "BARCODESCANNED" as the Handler name.

This is the part that is unclear. Once one user scans the barcode, there is no way for other users to "scan" the same barcode unless they physically scan the same barcode.

This part is also unclear. There is no way to synchronize DB writes, because you shouldn't ever do that.

Hi Cmallonee,

Thanks for your response and apologies ....
I simply wanted to save the scanned barcode into a session property.
This was resolved using the below script:
session.custom.Scanned_Barcode = data['text']