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 / To check if input is e...
Power Automate
Answered

To check if input is either this or that...

(1) ShareShare
ReportReport
Posted on by 73
Hi experts
 
I'm working on the following flow where I want PA to check for 3 (1,2,3) inputs. If the inputs are either of the three then it should ask another input.
 
But for some reason it doesn't ask for the second input and runs the remaining flow.
 
Please help
Thanks a lot 🙏
 
The current flow is - 
 
IF cFiles = $'''Open''' THEN
    Display.InputDialog Title: $'''Which bill is this...''' Message: $'''1 - BSES, 2 - DJB, 3 - IGL, 4 - MFs, 5 - Purchases, 6 - Stocks''' InputType: Display.InputType.SingleLine IsTopMost: False UserInput=> BType
    IF BType = $'''[1,2,3]''' THEN
        Display.InputDialog Title: $'''Is it a Receipt?''' Message: $'''y - Yes Receipt, n - No''' InputType: Display.InputType.SingleLine IsTopMost: False UserInput=> Receipt
        ON ERROR
        END
    END
END
 
I have the same question (0)
  • SanjayGMusafir Profile Picture
    73 on at
    @ManishSolanki Thanks a lot. That works perfectly. I also experimented with 'contains' but I was doing other way round. And that is why it was generating error. Now when resolved by you, I have realized the mistake I was doing. 
    Thanks again.
  • Verified answer
    Manish Solanki Profile Picture
    15,097 Super User 2025 Season 2 on at
    Hi,
     
    Assuming user will enter a single digit value.
     
    Pls update the if action as shown below and use 'Contains' operator instead of 'equals to':
     
     
    If this helps & solves your problem, please remember to like and accept my solution as it will help others in the future.
     
     
    Thanks,
    Manish Solanki
    YouTube Channel: Manish Solanki - YouTube

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
David_MA Profile Picture

David_MA 265 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

#3
trice602 Profile Picture

trice602 202 Super User 2025 Season 2

Last 30 days Overall leaderboard