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 / Triggering a flow - In...
Power Apps
Answered

Triggering a flow - Invalid argument type (Text). Expecting a Record value instead.

(0) ShareShare
ReportReport
Posted on by 299
in powerapps I trigger a Pa flow. 
 
 
Sometimes I need to run the flow without a triggerdate. So I have made the fifth parameter optional. 

Now when I try to trigger the flow I get this error. 
 
 
The flow triggers fine if I dont pass in a fifth parameter. If I change the field back to mandatory, the above code runs ok. 
I have refreshed the flow in the app a number of times. 
 
What could be the issue?
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at
    Optional parameters need to be passed in the form of a record with the parameter name.  change the simple Text() function to 
     
    {"Trigger date": Text(...)}
     

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • nick9one1 Profile Picture
    299 on at
    thanks. that worked. Only change I had to make was single instead of double quotes..
     
    {'Trigger date': Text(...)}
    
     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard