cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Austin3
Regular Visitor

Can not change type to Float from dynamic content

I am trying to take an answer to a form and convert to a float in order to check if it is less than another float value. All of the other values from the Form convert to a float just fine it is just one of them that does not want to convert to a float. I tried deleting the question on the form and entering a new one (restricting it to just numbers). I ensured there were no letters or spaces in the answer and still no luck. Does anyone know what else could be causing this? This is the code that is in the compose box "floats weekly demand" 

float(outputs('Get_response_details_2')?['body/r50dd660573704e819349a9e80170675d'])

Austin3_0-1627403815247.png

Any help or guidance would be greatly appreciated!

 

1 ACCEPTED SOLUTION

Accepted Solutions
happyume
Solution Specialist
Solution Specialist

It seems your error is at runtime and not at the stage when you are building the Flow. If you look at outputs of the "Get Response Details" - can  you see what is the datatype of the output that you are getting?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If this post helped you in troubleshoot or other ways, then please hit the Thumbs Up button.

View solution in original post

2 REPLIES 2
happyume
Solution Specialist
Solution Specialist

It seems your error is at runtime and not at the stage when you are building the Flow. If you look at outputs of the "Get Response Details" - can  you see what is the datatype of the output that you are getting?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If this post helped you in troubleshoot or other ways, then please hit the Thumbs Up button.

View solution in original post

looking at the data I was pulling in from forms I discovered I was using the wrong response and therefore the question I was trying to convert to a float did not have a answer. Fixing this solved my issue. Thank you for pointing me in the right direciton!

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,863)