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 / Error - Power automate...
Power Automate
Suggested Answer

Error - Power automate recognizing a number as a integer.

(0) ShareShare
ReportReport
Posted on by
Hi Guys,

I am pulling my hair out! So I have the requirements below.

Approval Process when someone submits a reply on a form, a user puts a "Cost" in and depending on the amount it goes to certain users for approval.
 
- Below £500 Approval goes to user A
- Between £500 - £5000 goes to user B
- Above £5000 goes to user C
 
See attached the form that I am filling out, you can see that I am setting it to 499 which is less than 500.
 
When I run a test I get the attached error. I have tried troubleshooting this to get it to recognise it as an integer but it just seems to not want to play ball.

I'm sure this is something simple that I am missing, has anyone got any ideas?
Microsoft Form Filled out.PNG
Workflow layout.PNG
Form error.PNG
Categories:
I have the same question (0)
  • Suggested answer
    abm abm Profile Picture
    32,975 Most Valuable Professional on at
    Hi
     
    Could you post your int() expression screenshot. Want to see that mapping.
     
    Did you deleted and added the form field Cost? If it is then you need to map the Form Cost field again?
     
     
    Thanks
  • creativeopinion Profile Picture
    10,504 Moderator on at
    It's hard to offer any recommendations without seeing the outputs of your flow run. 
     
    It's hard to tell what you have in your Compose action. A number field in MS Forms will output a string even though you've selected it as a number field. You'll need to use the int() function to convert the string to a number.
     
     

     
    In the meantime, you may find these YT Tutorials helpful:


    In this Microsoft Power Automate tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching. You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression.

    After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
    At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.

    IN THIS VIDEO:
    ✓ How to get a Microsoft Form Response into SharePoint
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form response
    ✓ How to Build a Microsoft Form with Conditional Fields
    ✓ How to used Branching in Microsoft Forms
    ✓ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
    ✓ How to parse a Microsoft Form multiple choice response as string of text
    ✓ How to convert a text response to a number
    ✓ How to use the Switch action
    ✓ How to create a custom email confirmation for a Microsoft Form submission
    ✓ How to Create a Custom View in a SharePoint list
    ✓ How to use the Compose Action
    ✓ How to write Power Automate Expressions
    ---


    In this Microsoft Power Automate Tutorial I’m going to cover how to add file uploads to a SharePoint list item. First, I’ll show you how to get the file name and content from the File Uploads from your Microsoft Form, then I’ll show you how to add those files to a SharePoint item.

    IN THIS VIDEO:
    ✓ Two types of MS Forms
    ✓ Where Microsoft Personal (OneDrive) Form File Uploads are Saved
    ✓ Where Microsoft Group Form File Uploads are Saved
    ✓ How to Add a File Upload Question to an MS Form
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form Response
    ✓ How to Get the Dynamic Content Microsoft Form File Upload Content
    ✓ How to handle Single and Multiple Microsoft Form File Uploads
    ✓ How to use a Scope action to Organize and Group Your Flow Actions
    ✓ How to Get the File Content from an MS Form File Upload
    ✓ How to Collect All Files from Multiple File Upload Questions
    ✓ How to Handle MS Form Response When a File Isn’t Uploaded
    ✓ How to Attach an MS Form Single File Upload to a SharePoint List Item
    ✓ How to Attach Multiple MS Form File Uploads to a SharePoint List Item
    ✓ How to Attach MS Form File Uploads to an Email

    Hope this helps!
     
     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard