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

initialize variable and get value "Null" from dataverse

Hi,

 

Is there anyway that assign a default value when initialize variable but get "Null" from dataverse ?

 

Right now I use condition. I wonder is there any better expression I can use just when initialize variable.

 

George

1 REPLY 1
ufgeorge
Helper II
Helper II

I found if value is string, I can use expression,
 
if(empty(A),B,A)
 
The meaning is: 
empty(A) >> Get A and see if null
if null, return B
if not, return A
 
If value is integer,
if(equals(A,'null'),B,A)

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Top Kudoed Authors
Users online (3,951)