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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow - ActionBranching...
Power Automate
Unanswered

Flow - ActionBranchingConditionNotSatisfied so this step is skipped

(0) ShareShare
ReportReport
Posted on by 8

Hi there

Would like to use the flow of Power Automate to update SharePoint List based on online Excel file which saved in SharePoint folder.

Most of steps run successfully except "Create item" under Yes/ No Condition as following screen shot.

 

RachelLai_1-1628066582964.png

Detail message : ActionBranchingConditionNotSatisfied. The execution of template action 'Create_item' skipped: the branching condition for this action is not satisfied.

 

Detail flow setting is as follows,

 

RachelLai_0-1628066310505.png

The formula of condition is:   length(outputs('List_rows_present_in_a_table')?['body/value'])

 

Not sure is there any reason makes "If no" is not satisfied.

Ned some comment on it and how to solve it.

 

Thank you.

 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @RachelLai 

     

    Looking at the first screenshot the "Condition" action returns true, that's why the "no" branch is not executed.

    Can you please confirm if the "List rows present in a table" action returns any value?

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.

  • RachelLai Profile Picture
    8 on at

    Hi @manuelstgomes 

    Thanks for your quick response.

     

    Before running this flow, the destination of SharePoint List - "Testing flow update list by excel" is blank and only have title columns as following screen shot.

    After running flow, this list still looks like blank and the condition should match "If no" - the value 

    outputs('List_rows_present_in_a_table')?['body/value'] = 0.

    RachelLai_1-1628072801704.png

     




    Detail setting of "If yes"

    RachelLai_0-1628072611880.png

     

  • manuelstgomes Profile Picture
    6,625 on at

    Hi @RachelLai 

     

    Let me see if I understand what you're doing. So you're fetching the "List rows present in a table" to check if the file is empty correct? If it is, you can add the rows to SharePoint; otherwise, you create one item. 

     

    Since your file is always empty, you'll always go to the "Yes" part of the branch since you're validating if the length equals zero. But if you go to the yes part with no values, it won't create anything.

     

    I think what you need is to check if the length is "not equals" to zero. If it's not empty, then you have a "For Each" that iterates all items and saves them to SharePoint.

     

    Makes sense?

     

    Cheers

    Manuel

     

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

    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?

    Otherwise, reply to it, and the community will do its best to help you.

     

  • RachelLai Profile Picture
    8 on at

    Hi @manuelstgomes 

     

    The purpose of creating this flow is to update SharePoint List based on online Excel file saved in SharePoint.

    I refer this Youtube video https://youtu.be/MtCqbRBOOb4 to create this flow.

    Current scenario

    • SharePoint List is empty
    • Online Excel file with data

    Per above referred video, I thought it is to check if SharePoint list is not empty (means 0). If yes, "Update item" based on excel data by ID. . If not, "Create item" base on excel data.   (follow the logic of "not equal to 0")

     

    RachelLai_0-1628077515007.png

    RachelLai_1-1628077536935.png

     

     

  • RachelLai Profile Picture
    8 on at

    @manuelstgomes 

    Sorry didn't noticed that your new reply 2 weeks ago.

    Did you mean this?

    RachelLai_0-1629337719646.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard