cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CasperSeve
Frequent Visitor

Limit entry to once a week per person

Hi there,

Have thus far created a fairly simple weekly check-in application (form) for my department, with status on work/life balance metrics. All of the data is stored in a simple SharePoint list.

 

Now I want to ensure that employees can only create 1 entry per week.

 

The tricky part here is, that I want to allow other employees to do check-ins on their behalf, and then I am routing this via an approval flow to approve / decline.

 

How do I create a mechanism that checks whether there has already been a check-in on a specific employee, so I only have 1 entry per employee, per week?

1 REPLY 1
JayMagness
Super User
Super User

Hi,

I am  a big supporter of not just giving a mindless screen or a mindless error.

 

I think I would setup a Gallery on the form that looks at the source table or list and test against created date and if it is (168 hours from now 7 day week) or (120Hours in a 5 day work week) display it in the gallery so the user knows they have already submitted. Then in the form on the same screen can display the information from the gallery in view. if Gallery is empty then form in new action.

 

There are a million ways to do this type of stuff but this is my thought.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (102,817)