- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 01:18 AM
Hii,We had a requirement to lock the time cards for previous week after certain day in the current week.For ex previous week time card can't be submitted by the user after wednesday of current week.
We implemented that using business rule and it is working as expected.But we are confuse on one part if suppose user forgets to fill timecard of previous how will he able to fill that after demanding access from timecard_admin so how to implement that like we can't deactivate br for every user how can we implement that please help us...?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 04:46 AM
Hello
You just need to create a field of true/false type on time_card table. In dictionary set the default value to false.
In your BR condition just check like below. In my case field name is different
YOUR BR CODE WILL BE AS IT IS.
Please mark my respsone as helpful/correct, if it answer your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2022 03:04 AM
we implemented this on server side but can we also restrict the calendar field on client side so that user can't select the date of previous week from that week starts on field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2022 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2022 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2022 10:15 PM
Hello
This question was raised initially with different requirement which was answered earlier and now there is a new question on the same thread. So I would request you to please raise a new question for your requirement and provide the required details like screenshot showing the page of your time card. Are you using any catalog item or the OOB time card page provided by ServiceNow, without those details it will be difficult to answer your question. Also it is difficult to answer all the question in a single thread.
Thanks