Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Avoid current user to duplicate the registration

Hi All,


I have a sp list which will be updated by the form using canvas app.


Each entry will have Team including 5 team members. eg ,  ....

Now if any of the user from this entry comes and try to register it should check the current logged in user with the entry and if the user exists in the entry he should be navigated to "Already Registered" page , Else he should be navigated to "Home Page"

where he can continue to register as usual.


I have tried On start of App

If(IsBlank(LookUp('List name', User().Email ='Team Member 1 - Mail'.Email)),Navigate('Already Registered',ScreenTransition.Fade),Navigate('Home Screen',ScreenTransition.None))


Not sure what is going wrong here but the new user is also prompted to Already registered page. Even if he is not part of any entry.



Helper I
Helper I

Hey @Drrickryp ,


It worked like a charm Thanks a lot, Anyways if i want to compare all the Team members in the List with the current user so that no one from the team who are part of a team cannot be in any other team should i use Or function ? or AND function 


Set(UserEmail,User().Email); Collect(listname,'ListName'); If(!IsBlank(LookUp(listname, 'Team Member 1 - Employee Mail'.Email =UserEmail Or 'Team Member 2 - Employee Mail'.Email =UserEmail)),Navigate('Already Registered',ScreenTransition.Fade),Navigate('Home Screen',ScreenTransition.None))


does it make sense.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,623)