I made a presence app to record faculty members and other staffs activity during Covid19 WfH. I manage using form to capture timestamp, clock-in, location, photos, activities, and clock-out. I wish to set the clock-out should be on the same date as clock-in. Is it possible if user forgot to clock-out it will automatically clocked-out by app on 23.59. I do appreciate for any comment and suggestion. I search that it is not possible at the moment to use server/system side trigger action to accomplish this.
Solved! Go to Solution.
Thank you for the updates.
Since you have [Clock In] and [Clock Out] as TIME type columns, I believe the earlier suggested valid_if expression will not work.
Instead you may set the expression [Date]=TODAY() in Editable_if constraint of [Clock In] and [Clock out] columns.
This will ensrue that the user can edit these values only if the record creation date is today.
I believe , if your column type is Time, your initial value can be simply an expression as TIME(โ23:59:59โ)
Since [Clock Out] will always have an initial value of โ23:59:59โ , you may have a slice expression something like
AND([Date]=TODAY(), [Clock Out]= TIME(โ23:59:59โ))
This will list all of todayโs records where the user has yet not entered any other [Clock Out] time than the default initial time of โ23:59:59โ. Only lacuna of this slice filter expression is if a user has purposely entered [Clock Out] time of โ23:59:59โ , then also it will be included in the โWorking Nowโ slice.
User | Count |
---|---|
17 | |
11 | |
7 | |
4 | |
3 |