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 / PowerAppsrequestapprov...
Power Apps
Unanswered

PowerAppsrequestapproval.Run('Doa Request'.LastSubmit

(0) ShareShare
ReportReport
Posted on by 7

Hey everyone,

 

I am hoping you can help me out, I cant work out why my Power apps call isnt working for the like of me.

 

I have a button to submit a form DOA Request which updates an excel table 

OnSelect  -  SubmitForm('DOA Request')

 

And then trigger power automate PowerAppsrequestapproval passing in the last submitted ID

OnSuccess  -  PowerAppsrequestapproval.Run('DOA Request'.LastSubmit.ID)

 

However I get the below error.

PowerAppsrequestapproval.Run fialed: The method 'Run' has an invalid value for parameter 'number'

PaulDG_0-1685580417168.png

 

From what I can work out I think its passing through a blank value and some other people were having issues resetting the form but I am not doinf that anywhere.

 

Thanks in advance

 

Paul

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,656 Most Valuable Professional on at

    Hi @PaulDG ,

    That is because Excel does not have an ID field.

     

    Please click Accept as solution 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 giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • developerAJ Profile Picture
    4,763 on at

    @PaulDG 

     

    'DOA Request'.LastSubmit.ID

    if you did not get any error here means i guess ID is one of the column of Excel but the value when you submitted form is not a number it could be blank or string thats the issue i am guessing.

     

    if you don't have any primary key i mean column that identifies the row uniquely what you can do is create a column in excel lets say primarycolumn.

    create a variable varPrimarycolumnValue ; in form add a datacard for this column;set default value for datacardvalue as varPrimarycolumnValue

    on submit button.

    Set(varPrimarycolumnValue,Last(Sort(tabledatasource,primarycolumn,SortOrder.Descending)).primarycolumn)

    submitform(urform)

     

    Please click Accept as solution and Thumbs Up. 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 giving it Thumbs Up.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard