I’m trying to make a mark all feature for attendance tracking so users would not be able to mannually add one at a time to change their attendance status, wondering if anyone has any idea on how to do this. My current approach is to have a workflow that loops to set attendance to be 1 (i.e indicating that person is present) but it’s not working on my end.
I need to know more about your data structure to give you a suggestion. To take attendance, are you marking a specific column in the attendee table such that you would need to either market one at a time or do a looped workflow? If so, is there only one column that you are overwriting each time you’re taking attendance?
Hey Derrick, Welcome To Glide Community!
You’re on the right path. Instead of looping, try this:
- Create a helper table with a “Mark All” trigger (like a timestamp or boolean).
- Relate all attendance rows to that helper row.
- When “Mark All” is tapped, update the trigger.
- Use a computed column to detect the change and then update the attendance via relation.
This way, you avoid looping and let Glide handle the updates.
How do you uncheck a specific student in that case? I guess timestamps should be involved here to allow that but it’s complex.