Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Invalid number arguments: received 4, expected 5.

(1) ShareShare
ReportReport
Posted on by 2
Hi All, please help me figure this out since I almost give up huhu.. many thanks!
 
SubmitForm(RaiseNewForm_5);UpdateTQItemID.Run(RaiseNewForm_5.LastSubmit.ID,IRTitle_Txt_15.Text,DescTxt_14.Text,Label4_34.Text);
Set(varTQID,LookUp('ARO - Technical Query Register',ID=RaiseNewForm_5.LastSubmit.ID,'TQ ID No.'));
Set(varLastTQID,RaiseNewForm_5.LastSubmit.ID);
  • timl Profile Picture
    34,933 Super User 2025 Season 1 on at
    Invalid number arguments: received 4, expected 5.
    To add to what Warren says, if your Flow originally contained 5 parameters and you modified so that it now has 4, you'll need to remove/re-add the Flow to your app.
     
    As an additional comment, it's better practice to call the Flow and the Set statements in the OnSuccess property of RaiseNewForm_5, so  that they run only when the record is created successfully. 
  • WarrenBelz Profile Picture
    146,524 Most Valuable Professional on at
    Invalid number arguments: received 4, expected 5.
    Your Flow is requesting 5 parameters and you are sending it 4. Have a look at your Flow and see what parameters you have entered in there.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard