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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (3,760)