Hey everyone! I have something that I keep running into issues with in Adalo.
I’m trying to make a single clock in/clock out button that employees can tap that will create a timesheet record (with clock in time and location) if they aren’t clocked in, and if they are clocked in, it will update that record with clock out time and location and clock them out.
I’ve created several iterations of this, but I consistently ran into problems since Adalo doesn’t execute actions sequentially.
My last iteration involved setting a user variable that only allowed clock ins and clock outs to happen if the variable was the correct value, and a countdown timer was used to set the correct value after each clock-in/clock-out.
Despite that, I’m not able to update the same record from the same button at all. And unless I’m missing something, I haven’t found a way to update that record from a separate button either.
If anyone has recommendations, I’d very much appreciate it.