Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Check if item in SharePoint was created within the last 5 minutes by the same user.

(0) ShareShare
ReportReport
Posted on by 391

Hi everyone,

 

I am trying to create a flow where it checks the SharePoint list item if it was created within 5 minutes by the same user. If condition is true, stop the flow.

 

For example, the flow checks "Logged By" and "Created" columns. In this scenario, both items were created within 5 minutes by the same user. If that is the case, the flow should stop. 

 

nicklim_1-1687259894308.png

 

I have been trying with the if condition but without any luck. Please kindly help.

 

Thanks.

  • nicklim Profile Picture
    nicklim 391 on at
    Re: Check if item in SharePoint was created within the last 5 minutes by the same user.

    Hi @Sundeep_Malik 

     

    No.3 figure is the part that I can't figure out, like how do I use the If condition action to achieve the result? I think PVA has the ability to do that but there are not much info that I can find on the internet. So am just wondering if PA can do the trick?

     

    1

    nicklim_0-1687288781098.png

    2

    nicklim_2-1687288834886.png

    3

    nicklim_4-1687288890398.png

     

  • Sundeep_Malik Profile Picture
    Sundeep_Malik 6,480 on at
    Re: Check if item in SharePoint was created within the last 5 minutes by the same user.

    Hey @nicklim 

    Can you show the flow in edit mode. Also show the expressions you are using.

    But I have a bit of concern here. Lets say in future number of items increases. You might be using get items for it. The get items might be taking more than 5 minutes. And your flow might not work properly.

    But one more thing can be done is in top count you can give like 50-100 items and in order by you can give Created Desc.

    Sundeep_Malik_0-1687261084292.png

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard