cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bird
Helper II
Helper II

How to use variable initialization

Apps created with "PowerApps" I am making a flow to write to an Excel file with "PowerAutomate".

 

When the value to enter a value  in "PowerApps" is blank, Using initialize variables (type: string) in the "PowerAutomate" flow causes an error. Is there a way around it? 

1 ACCEPTED SOLUTION

Accepted Solutions

Coalesce() is a function. You need to use in add an expression (fx). Here is an example:

gabibalaban_1-1642685342850.png

 

 

View solution in original post

3 REPLIES 3
gabibalaban
Dual Super User
Dual Super User

@Bird ,

Use the coalesce function:

Coalesce(parameterFromPowerApps,’’)

@gabibalaban 

There is no Coalesce in "Add new step", how do I do it?

Coalesce() is a function. You need to use in add an expression (fx). Here is an example:

gabibalaban_1-1642685342850.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,331)