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 Automate / Trying to pass optiona...
Power Automate
Suggested Answer

Trying to pass optional values from powerpass to a flow

(0) ShareShare
ReportReport
Posted on by 51
For context, I am builing a PowerApps app with Cosmos NoSQL as the DB. In order to connect to it and do queries, I am creating flows. Right now, my flow consist of a PowerApps V2 step to gather the input parameters, and a Create/Update Document V3 to send the data to my CosmosDB. The issue I have right now is that I a trying to pass an optional date input to the Flow. However, if I pass a Blank() it gives me an error that the flow is expecting a String and not a null, and if I pass a "", it tells me that it is expecting a date value. On the PowerApps V2 step I have an optional date input, and on the PowerApps function I am passing the variable as {date_3: Blank()}. Any idea how to pass the optional parameter?
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at
    For optional parameters that you don't want to pass a value for you should pass a record containing a null value.  Instead of {date_3: Blank()} it should be {date_3: null}
     
    ----------------------------------------------------------------------------------
    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
  • JC-15041439-0 Profile Picture
    51 on at
    @Pstork1 thank you for the answer. I have tried to pass null, but it does not get recognized in my PowerApps editor and throws an error.

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard