web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating list item tha...
Power Automate
Unanswered

Updating list item that's locked by another instance of the same flow

(0) ShareShare
ReportReport
Posted on by 116

Hi, I have 2 lists, one is a list of submitted training, one line per item/person

 

The 2nd list is a persons records. One line for the person and columns of dates when they had the training... 

 

Once an item is added to the first list it updates a date on the 2nd via a flow

 

My current flow isn't fit for the job... as if too many items are added to list 1 it has conflicts on list 2 when updating the same person in 2 columns.

 

The flow has 120+ if statements in the 'update item' 😮 

 

The_blue_0-1647273185112.png

 

They look like 120 variants of:

if(equals(outputs('Get_item')?['body/Title'], '100 induction'), outputs('Get_item')?['body/Date'], Items('Apply_to_each')?['OData__x0031__x0020__Inducti'])

 

So if the column name matches the course name, add the date.. The kicker is that if the column name doesn't match but there's already a date in the cell i need to re add it 

 

Breaking scenarios:

  • 2 items of training added in close succession means the 1st flow run is blocking the next and i get a fail
  • If i add a 'do until status doesn't equal 400' then the 2nd item tries writing till success BUT it holds the data from the get item which doesn't have the data it was waiting to write.. meaning it writes its bit plus removes what was written just milliseconds before

The_blue_1-1647273277458.png

 

 

My boss suggests changing to a Switch, the whole idea breaks my heart 😞

 

Can i either:

  • make the flow wait till the line is free before getting the item 
  • Lock the item before it starts the get item then unlock after
  • OR
  • Stop the flow writing out of date data onto of new? 

 

 

 

 

 

 

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard