Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Having trouble with conditions in MS Flow

(0) ShareShare
ReportReport
Posted on by

The flow I am trying to create is when a new email arrives with attachment, the flow will check the attachment name and if the name contains ICA_EU_SDIOFFICE the flow will save the file to SharePoint and reply to the email that is was successfully uploaded. 

 

The inbox that the flow is looking at is a shared inbox.

 

https://imgbox.com/UV3XYUf3

 

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Having trouble with conditions in MS Flow

    I just recreated the flow same exact way and now it worked 🤔

     

    Thanks for the help @abm 

  • Community Power Platform Member Profile Picture
    on at
    Re: Having trouble with conditions in MS Flow

    I'm not sure why for me it keeps equaling to false

    Here is the test run

    https://imgbox.com/1XAXVRVc

     

    Here is the config

    https://imgbox.com/IpncSfsC

     

     

     

  • Verified answer
    abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Having trouble with conditions in MS Flow

    Hi @Anonymous 

     

    Please see below my test

     

    image.png

     

    Here is my flow config

     

    image.png

     

    Check your condition doesn't have any trailing spaces under  ICA_EU_SDIOFFICE

  • Community Power Platform Member Profile Picture
    on at
    Re: Having trouble with conditions in MS Flow

    The issue is that when I email an attachment named ICA_EU_SDIOFFICE_DATE the condition point to No. 

     

    Attachment name for this test was ICA_EU_SDIOFFICE_TEST_08182020

     

    https://imgbox.com/U3HebnUz

     

  • abm abm Profile Picture
    32,506 Most Valuable Professional on at
    Re: Having trouble with conditions in MS Flow

    Hi @Anonymous 

     

    Your configuration looks ok.

     

    I just tested one and it is working as expected.

     

    What error are you getting?

     

    Also make sure you have set the below values in your trigger.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1