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 Apps / Issue with Power Automate
Power Apps
Answered

Issue with Power Automate

(0) ShareShare
ReportReport
Posted on by 149

Im experiencing some odd behaviour with power automate and i dont know if its something im doing or its just pants.

 

i have set up a flow to mark files with yes/no in a SharePoint library as job files by analysing their location in the full file path allowing me to then filter in a canvas app on that column and give me a list of jobs and not the directories before or the sub folders after - its working well. the expression is length(split(triggerOutputs()?['body/{FullPath}'], '/')) 'is equal to' 4

 

however inherently I'm creating an infinite trigger loop

 

When a file is created or modified (properties only) > condition is the file location at x position in file path > yes > mark yes > no >mark no
 
so because I'm then modifying the yes/no its ending up in an infinite loop
 
the obvious and common method is to add another helper yes/no column to check if the flow has been run on it and new condition after the trigger to detect it but when i do this it stops pulling in the custom fields i have created and makes the other condition have "no input" - im stumped 🙄
 
Capture.PNG
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,545 Most Valuable Professional on at

    HI @danny90 ,

    In your condition, check also that both of those fields are not already yes and if so, do not run the update.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • Verified answer
    danny90 Profile Picture
    149 on at

    Hi WarrenBelz

     

    Thanks for your comment.

     

    So after much searching it seems that the yes no column in sharepoint doesn't automatically assign a value even if the default is set to No, in PA it returns as Null or Blank, similarly the operation in PA is a Boolean so Yes No doesn't work. so the 'when a file is created or modified' triggers, it wasnt picking up the yes no. so i stored it as a variable and the looked to see if it was either no or blank before carrying on with the rest of the operation.

     

    seems to be all working as expected now.

     

    Kind Regards,

    DanCapture.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard