Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow not running as expected - skipping a section

(0) ShareShare
ReportReport
Posted on by 22

Hi,

 

Help required please!  I am creating an approval flow for additional headcount.

 

The flow needs to run as below:

 

A: If headcount is perm/fixed term:

 

1) Teams message to let HR team know a flow is in process.

2) Send email (with options) stating approval required.

3) If approved, add row to table and send Teams message to HR

4) If not approved, send email to requestor, and send Teams message to HR

 

B: All other headcounts:

 

1) Add row to table

2) Send Teams message to HR

 

The problem is that the flow is treating all approval requests as B: All other headcounts and skipping the approval part.

 

KMG2006_0-1682603338932.png

 

 

Where am I going wrong?!

 

KMG

  • jdoss Profile Picture
    458 on at
    Re: Flow not running as expected - skipping a section

    Since the equal to needs to be exact and sometimes there could be a white space or something you may change the terms on the condition to be contains and use Permanent and Fixed Terms as the qualifiers.

  • Nived_Nambiar Profile Picture
    17,519 Super User 2025 Season 1 on at
    Re: Flow not running as expected - skipping a section

    Hi @KMG2006 

     

    Just run the flow and then show the body of get reponse details in compose action as @VictorIvanidze  said 

  • KMG2006 Profile Picture
    22 on at
    Re: Flow not running as expected - skipping a section

    KMG2006_0-1682700131713.png

     

  • VictorIvanidze Profile Picture
    12,212 on at
    Re: Flow not running as expected - skipping a section

    Could you show full output of "Get response details" action?

  • KMG2006 Profile Picture
    22 on at
    Re: Flow not running as expected - skipping a section

    I don't believe there is, and the flow still isn't running as expected.

  • Nived_Nambiar Profile Picture
    17,519 Super User 2025 Season 1 on at
    Re: Flow not running as expected - skipping a section

    Hi @KMG2006 

     

    Ok, just check whether there are any whitespace in the dynamic content?

  • KMG2006 Profile Picture
    22 on at
    Re: Flow not running as expected - skipping a section

     

    KMG2006_0-1682606219526.png

     

  • KMG2006 Profile Picture
    22 on at
    Re: Flow not running as expected - skipping a section

    Hi,

     

    The these are correct. I've added in compose before and added the same condition input - is this what you meant?

  • Nived_Nambiar Profile Picture
    17,519 Super User 2025 Season 1 on at
    Re: Flow not running as expected - skipping a section

    Hi @KMG2006 

     

    Before using condition, check the value of highlighted one using compose action.

     

    Nived_Nambiar_0-1682605916966.png

     

     

     

  • KMG2006 Profile Picture
    22 on at
    Re: Flow not running as expected - skipping a section

    Thank you so much for prompt reply.

     

    I'm not sure what you mean though. I've set it to be 'Yes' if the reasons for recruitment is equal to 'Additional Resource - Permanent' or 'Additional Resource - Fixed Term Contract'. This should trigger the approval.

     

    All others should go to 'No'.

     

    Apologies if I am missing something!

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow