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 / Flow.RUN() failed erro...
Power Apps
Unanswered

Flow.RUN() failed error "TriggerInputSchemaMismatch". Error type : "Expected Number but got String"

(0) ShareShare
ReportReport
Posted on by 18

Hi,

 

I am trying to run a flow (Execute SQL Stored Procedure) where the flow takes a GroupID from varRecord (Gallery.Selected) and an Individual ID from ComboBox.Selected.ID.

 

I am not able to fetch the GroupID using varRecord.GroupID. It comes up as blank. When I do a LookUp with the table where the GroupID is stored, it gives me a schema mismatch error. It says expected number but got string.

 

I tried using Value(LookUp(...)), but that didn't help either.

 

I am running the SP on the 'OnSelect' property of the ComboBox. The error pops up on PowerApps even before the Flow can run.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    I suspect that the GroupId property of varRecord is being read as a string when you need an integer.  Try replacing your use of varRecord.GroupId in the Lookup with value(varRecord.GroupId), rather than putting the Value() outside the lookup.

  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    Is the error coming from the Lookup(), if so, maybe it has to with the condition in the lookup. What is the lookup formula?

  • pralikab931 Profile Picture
    18 on at

    Now I get an error as follows:

     

    'Execute Procedure V2' requires the property 'parameter/id' to be a string of maximum length '-1' but is of length '1'. error in powerapps

  • pralikab931 Profile Picture
    18 on at

    LookUp(IMTable, IM_No = Gallery.Selected.IM_No).GroupID

     

    IMTable has GroupID against every IM_No

     

    Data type of IM_No and GroupID is int.

  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    Can you try this and see if the lookup will return a value instead of an error.

     

    LookUp(IMTable, IM_No = Value(Gallery.Selected.IM_No)).GroupID

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