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 / Issue passing addition...
Power Apps
Answered

Issue passing additional parameters for the .run function

(0) ShareShare
ReportReport
Posted on by 32
I have a .run flow attached to a button which was working.  I added 2 additional fields and when I try to add them into the .run criteria in power apps, I'm getting an error.  The LCMSCreatedBy.Text is one of the additional fields and as soon as I add it, I get the the red squiggly line.  The other field I need to pass is the ID field.  
 
LCMSSubmitted.Run(LCMSScientist.Text, LCMSDate.Text, LCMSPriority.Text, LCMSObjective.Text, LCMSDescription.Text, LCMSCreatedBy.Text);
 
Any ideas?  
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,151 Super User 2026 Season 1 on at
     

    Since the flow was already attached to the button and you added 2 new parameters, Power Apps is likely still using the old schema or old peramters. Because of that, when you pass the 2 new parameter values, it throws the error.

    After adding the new parameters in Power Automate, please do the below steps:

    #1. Save Automate.
    #2. Refresh the flow in PowerApps or Remove and Readd the automation.
    #3. Add those new Parameters in flow run.

     

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------

    📩 Need more help? Just mention @Kalathiya and I’ll be happy to assist.

    ✔️ If this answer helped you, please tick “Does this answer your question?” so it can be marked as the Verified Answer.

    💛 A Like always motivates me to keep contributing!

  • BG-15041758-0 Profile Picture
    32 on at
    UGH!  I don't know why I didn't think of this!  Thanks for the quick reply, this worked
     
    Beth
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard