cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Search for user gives empty result

Hello, 

I need your help. I created a PowerApps, wich has a Form. 
In the form there is : 
- One EditForm. I created a Submit button and it creates an item in a SharePoint List. 

- One ListBox with an Office365 connection with the members of my company. When I click on submit, it patches the item to add the name of the employee in a column. 

I want to create a Flow to notify the employee that an Item was created. I added 10 second to be sure the patching process is done. In the apply to each, I added a condition and then the action send an email. 


The flowThe flow

Empty inputEmpty input

The problem is that the Input is empty, so it sends to 100 people an Email.

The flow works when I create manually an item in the SharePoint list.

Could you help me ?

Thanks a lot 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hello, @v-yuazh-msft 
I think I have the solution : 
The visitedPerson is send to SharePoint thanks to a Patch function, so it is empty when the item is created. The action search for users is linked to the created item and that's why the input is empty. 
-> Add a get item after the delay to get the column VisitedPerson. 


View solution in original post

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @ Martindeter,

 

 

As you said, the problem is that the Input is empty, so it sends to 100 people an Email.

Does the "VisitedPerson" dynamic content in the "Search for users" action is an output of the "When an item is created" action?

Could you please share more run details or the output of the "When an item is created" action?

 

If the "VisitedPerson" dynamic content of the "When an item is created" action is empty, may be there are something wrong on your powerapps to create the item with "VisitedPerson" column, the value of  "VisitedPerson" column in your powerapps hasn't send to the sharepoint list.

 

Please let me know if your find the error and your problem is solved.

 

Regards,
Alice Zhang

Anonymous
Not applicable

Hello, @v-yuazh-msft 
I think I have the solution : 
The visitedPerson is send to SharePoint thanks to a Patch function, so it is empty when the item is created. The action search for users is linked to the created item and that's why the input is empty. 
-> Add a get item after the delay to get the column VisitedPerson. 


View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,904)