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 / Conditional action usi...
Power Automate
Unanswered

Conditional action using string

(0) ShareShare
ReportReport
Posted on by 28

I'm sure this is me being thick, so apologies in advance.

 

I have a flow that parses the contents of an email and inserts them in a new row in an excel table (in Sparepoint). One of the things parsed is "Amount Paid" e.g. 100.00 (pretty sure it's still a string at this point, but it goes into Excel fine).

 

In parallel I want to send an email when the value of Amount Paid is more than a specified amount. If I use a conditional action with "Amount Paid" I get an error about conflicting type (string vs integer).

 

How do I convert Amount Paid to a number (decimal?) so that it can be used in the conditional action.

 

I have tried to initialise a variable:

Name = AmountGiven

Type = float

expression =

float(outputs('Amount_Paid'))

 

Then use AmoutnGiven in the condition, but that hasn't worked (error is "Skipped"). I must be missing a step somewhere.

 

lburmz_0-1708164746164.png

 

Categories:
I have the same question (0)
  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @lburmz 

     

    You also need to convert number 20 (right side of the condition) as float type. The condition works correctly when we have compatible operands on both sides of the condition:

    float('20') 

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • lburmz Profile Picture
    28 on at

    Unfortunately that hasn't solved my problem. I still get "skipped" on the condition, and it says there is no Input.

    lburmz_0-1708179782483.png

     

  • lburmz Profile Picture
    28 on at

    figured it out. There was a terminate action in a parallel branch that was stopping everything. I also don't need the Initialize variable action.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard