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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Bug? - Flow dynamic co...
Power Apps
Unanswered

Bug? - Flow dynamic content vs .Text Property in PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

Have a very simple flow which is triggered inside my app. The flow sends an e-mail in which body there is a dynamic content - argument "Sendanemail_Body". In the app I have a form, with a datacard with a value inside - dcCN_Lab_AXNumberVal. User enters AX number to this field and then presses the button which runs the flow.

 

I want text from the field to be used in the flow so button OnSelect=flow.Run(dcCN_Lab_AXNumberVal.Text).

 

Problem - if user enters 7YYY the flow will run, but if user enters 777 then the flow does not run because it is incorrect format of the argument. As I understand it converts it to the number even though it is a text field (Format - TextFormat.Text inherited from Sharepoint). Problem is solved by adding text function - flow.Run(Text(dcCN_Lab_AXNumberVal.Text)). 

 

It is inconvinient issue also because flow does not even crash - it just does not run, so it is very difficult to catch :(.

 

Btw, when I enter to the field smth like 00001 and then in patch function use just dcCN_Lab_AXNumberVal.Text it is updates the list just fine, as expected - with 00001, not converting it to 1.

 

Would be great to hear if I'm right and this is actually a bug or I just do not understand some basics and it is a feature 🙂

 

Thx!

 

Nick

 

 

 

Categories:
I have the same question (0)
  • MB-02102022-0 Profile Picture
    Microsoft Employee on at

    Thanks for bringing this to our attention and providing a temporary fix. This appears to be an issue with how PowerApps automatically typecasts things.

     

    I've filed a bug on our end and we'll have a dev look at it. I'll reply once I have a status update.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard