cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
s44
Super User
Super User

Check if in a list there is a line for a specific person, and if not create it

Hello,
I have 2 Sharepoint lists: an "Note de Frais" list and a "Cagnotte" list. The "Note de Frais" list corresponds to the various expense reports of people in my company and the "Cagnotte" list corresponds to assistance of 300 euros every 3 years, which my company gives to each user who requests it, and that they can spend when they make expense claims to purchase computer equipment.

 

s44_0-1640687450815.png

s44_1-1640687477580.png

 

 

I would like to create a Power Automate flow that checks if for a person there is a Cagnotte in their name, and if there is no Cagnotte in their name, I would like a Cagnotte in their name to be created.
But I don't see how to do that at all.

 

I tried this, but I got an error:

s44_1-1640772108006.png

s44_3-1640772189156.png

 

s44_2-1640772141794.png

s44_4-1640772219745.png

 

 

My error :

s44_5-1640772298148.png

 

 

 

 

 

Can you help me please ? :c

 

1 ACCEPTED SOLUTION

Accepted Solutions
jinivthakkar
Super User
Super User

@s44 I am not sure what action you are using, but in the error screenshot I can see the ID passed is equals to 0 and hence the error I guess.

 

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
jinivthakkar
Super User
Super User

@s44 I am not sure what action you are using, but in the error screenshot I can see the ID passed is equals to 0 and hence the error I guess.

 

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (5,361)