Hi
I am experiencing a recurring error regarding updating data across users. All data is stored in Glide tables.
Usecase: Users got at “get case” button; when pressed, they get a “random” unassigned case assigned to them.
Works via: I have table “cases”. In that table is a colums called “email”. When cases are assigned to a user, the user’s email is written in column “email”. (New data is added to the table).
I got a query (in users table) that contains all cases where coloum “email” is empty, sorted random. Cases are assigned via this query (single value, first case row-id from query → relation → set value).
What occasionally happens:
User 1 press button and get assigned case XX.
2 min later, User 2 press button and gets assigned the same case XX. Aka, the query on User 2’s computer hasn’t updated, and stille see case XX column “email” as empty.
Is there any way i can force a “data update” before cases are assigned?