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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / If statement to determ...
Power Automate
Unanswered

If statement to determine email address

(0) ShareShare
ReportReport
Posted on by 55

I am creating a flow and the results are based on currency amounts. So if the amount needed is more than £3000 it needs to go to a particular person if its more than £8000 it needs to go to a different email address. I work out the difference on the request using the compose. I was wondering if I could put in the flow if current limit > 3000 email@email.com or if current limit > 8000 email@email and then use the compose function to store this so I can do my approval based on this. Is this possible? TIA

number1.pngnumberflow.png

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at
    Re: If statement to determine email address

    @PennyP 

     

    Use 'condition' action Where you can compare current limit with specified number either greater than or less than whatever you want.

     

    Thanks

    Hardesh

  • PennyP Profile Picture
    55 on at
    Re: If statement to determine email address

    Thank you for your response Hardesh. I have used 'condition' before but was hoping not to have a yes or no scenario as apart from the email based on the figure the results would be exactly the same sending an approval email. So didn't want to do 2 separate responses for what is the same and wanted to try and do it on compose. I guess I will have to build the 2 approvals if that's the best way to work. 

     

    Kind Regards

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at
    Re: If statement to determine email address

    @PennyP 

    Why you are not using condition action? Any reason?

    What is your exact requirement.?

    Thanks

    Hardesh

  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: If statement to determine email address

    Hi @PennyP ,

     

    You could take a try with expression below:

    if(greater(outputs('Compose'),int(8000)),'gt8000@xxx.com',if(greater(outputs('Compose'),int(3000)),'gt3000@xxx.com','lt3000@xxx.com'))

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard