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 Apps / Error message (error i...
Power Apps
Suggested Answer

Error message (error in formula) in OnSelect in PowerApps

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I have created a PowerApps form that fills a Word template via Power Automate, converts it to a PDF, and sends it by email.


The app works perfectly....
 
    Onselect= OnboardingStartformullar.Run(
    txt_FirstName.Text;
    txt_LastName.Text;
    dd_Department.Selected.displayName;
    dd_DepartmentHead.Selected.displayName;
    dataPicker_StartDate.SelectedDate;
    txt_Comments.Text;
    dd_Administrator.Selected.displayName;
    dataPicker_Current_Date.SelectedDate)
 
Now to my problem:
When I make a copy of my app and the Power Automate flow, and the copy of my app with the copy  
So I have an exact copy of the app and my flow

 

OnSelect= Onboarding_Startformular_Kopie.Run(

txt_First_Name.Text;

txt_Last_Name.Text;

dd_Department.Selected.displayName;

dd_Department_Manager.Selected.displayName;

dataPicker_Entry_on.SelectedDate;

txt_Comments.Text;

dd_Administrator.Selected.displayName;

dataPicker_Current_Date.SelectedDate)

 

 

Why is Power Apps reporting an error here saying that the form is incorrect?

All data is exactly the same....

 

I have adapted the script in OnSelect from to the other flow.
I have changed in the onSelect Script the part OnboardingStartformullar.Run to Onboarding_Startformular_Kopie.Run 

The contents are exactly the same.

 

What is different in the copy?

 

The same thing happens when I add additional fields to my app.

I have added the additional field in the Word document, in the app, in the flow, and in onSelect. Here, too, I get the same error message saying that there is an error in the formula...

 

 

 

 

 

I have the same question (0)
  • karthikt29 Profile Picture
    8 on at
     
    Kindly make sure the Power automate flow OnBoarding_Kopie which you had copied is in the same solution of the Copy of the App (Both app and flow should be in the same solution).

    And still if you are facing an error try to refresh the flow that you have added to the app in the app designer it self. 

    If this answers your issue. Please mark this as answer. Thanks
  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at
    Just expanding on what @karthikt29 has posted, if you did not use a Solution (or a Zip Package), it sounds like the App is cannot find the Flow in the environment you copied the App into. Make sure not only is the Flow there (if not copy it over), but remove the current reference and re-attach the Flow from the correct environment.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • Suggested answer
    Mohsin Ali Profile Picture
    14 on at
    Hi, 
     
    In addition to the steps suggested by other members, please ensure that the flow is still configured to accept the same set of parameters and that both the app and the flow are part of the same solution. Also, verify that the copied flow is turned on—sometimes flows are automatically disabled during the copy process and need to be explicitly re-enabled.
     
     
    -----------------------Glad to help — please accept the answer if this resolved your issue.-----------------------
  • WarrenBelz Profile Picture
    153,059 Most Valuable Professional on at
    Please ensure you add @Mohsin Ali's suggestion to your list (I forgot about that one) - if you copy over with a zip (Legacy) package, the Flow needs to be turned back on.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard