Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Condition fail

Posted on by 12
Hi,
 
my workflow includes a condition which should be that the price is greater or equal to 50 EUR and lower than 250 EUR.
Nevervtheless, the condition seems to fail since I get the error message "Unable to process template language expressions for action 'Bedingung_1' at line '0' and column '0': 'The template language function 'greaterOrEquals' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'."
 
I cannot solve the problem myself which is why I am asking for help. Many thanks
  • Suggested answer
    trice602 Profile Picture
    trice602 10,947 on at
    Condition fail
    Hi,
     
    To add an expression, clear the field, then click on the fx icon.  That's where you enter the expression, shown below.
     
     
    Type in the expression INT().  Next with your cursor inside the (), click on the tab 'Dynamic Content'.  Then select the dynamic content for your condition that you have in there now.  Click on Add button.
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     
  • SG-08101454-0 Profile Picture
    SG-08101454-0 12 on at
    Condition fail
    Hi, 
    since I'm using the POwer Automate for the first time, I am not sure what information you need as dynamic content and how I get it
  • trice602 Profile Picture
    trice602 10,947 on at
    Condition fail
    Hi,
     
    Please wrap your dynamic content using an expression:

    INT(add_dynamic_content_here)
     
     
    Now you are comparing integer to integer.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard