Hi everyone,
I’m building a Crane Log app in Glide, where users from multiple sites and cranes need to log their start and end times for each lift they do with the crane. I’m trying to automate the following process:
- When a user completes a crane log, the system should create a new row with the status “Available to Start” after the End Time of the completed log.
- When the user starts a new log, the End Time of the previous “Available to Start” row should be updated to the Start Time of the new log.
Here’s the problem:
- I need to ensure that the “Available to Start” row is updated only for the current user and site (for example, for “Site A - John Doe”), not for all users or sites.
- Glide’s Relation column lets me find logs for a specific user and site, but I’m struggling to automatically update the End Time of the “Available to Start” row for each user/site combination.
I’ve tried using a combination of Relations and Actions, but I’m unsure how to correctly filter the rows and trigger the updates.
What I need help with:
- How to find the last “Available to Start” row based on the user and site.
- How to update the End Time of the correct “Available to Start” row when the user starts a new log.
Any insights or solutions to achieve this would be greatly appreciated!
Thank you in advance for your help!