How to enforce exactly 40 hrs entry rule before submission of Time Cards and Timesheets?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 12:34 AM
Hi Experts,
I have a requirement in Time Management where I need to ensure that users can only submit their Time Cards and Timesheets if exactly 40 unique hrs have time entries.
If users submit with less than 40 hrs → ❌ Submission should be blocked.
If they submit with more than 40hrs → ❌ Submission should also be blocked.
Submission should only proceed if exactly 40 hrs have time entries. ✅
✅ Important: I want this validation to work for both Time Cards and Time Sheets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 12:38 AM - edited 07-03-2025 01:17 AM
Hi @dattanarend,
it sounds understandable, where are you blocked? Can you share your errors, blockers, or other obstacles?
What have you tried yourself?
No AI was used in the writing of this post. Pure #GlideFather only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 07:52 AM
hi @GlideFather ,
we have modified the out of the box script include-TimeSheet, checking the condition of time sheet submited totals hrs is equal to the 40hrs or not (line :- 376-379).
but this seem to be not working as expected, can you please help me here ..?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2025 01:05 AM
@dattanarend
you can try to use Time Sheet policy for this
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2025 06:45 AM
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader