cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lucasheck
New Member

Block editing the list for the user, but not the flow

Hello everyone,

 

I'm trying to create an approval flow with a sharepoint list and I have a problem that I don't know how to solve.
I want to block the user's edit when he submits an item for approval and I did it using the validation list condition (simple condition like "SubmittedForApproval = 1").


The user can create and edit the item before submitting it for approval. Once the user has submitted, they will no longer be able to edit. So far so good. But when the flow is called and tries to modify the list item, the list performs the same validation condition and denies my update.

 

Is there any way to validate the edition list using the current user? 

1 ACCEPTED SOLUTION

Accepted Solutions
Johnnyg
Community Support
Community Support

Hi 

When Flow edit the list item in sharepoint, it utilized user Sharepoint connection for operation as well.

If your sharepoint block all users edit permission, the flow won't be able to edit as well under Sharepoint user connection. It makes sense.

Best Regards,
Johnny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Johnnyg
Community Support
Community Support

Hi 

When Flow edit the list item in sharepoint, it utilized user Sharepoint connection for operation as well.

If your sharepoint block all users edit permission, the flow won't be able to edit as well under Sharepoint user connection. It makes sense.

Best Regards,
Johnny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

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

Community Calls Conversations

Community Calls Conversations

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

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,300)