cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RameshMukka
Responsive Resident
Responsive Resident

Set Float Variable to Blank

I have a flow where am calculating Legal Fees and storing the value in variable called varLegalFees. I would like to set it to Blank at some point but the flow says value is required. I tried null but its not working for obvious reasons. How can I reset the value of Float or Integer variable to blank if its already having a value. Thanks a lot in advance

RameshMukka_0-1621450796304.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-LilyW-msft
Microsoft
Microsoft

Hi @RameshMukka 

Thank you for posting.

When you initialize a variable, if the data type is String or Array, it can be reset to null. Unfortunately, if the data type is Float or integer, its value will be set to 0 by default, so it can not be reset to null.

You can use Condition to judge whether the value of the variable is 0, and proceed to the next step according to the judgment result.

v-LilyW-msft_0-1621493070677.jpeg

 

Hope the content above may help you.

Best Regards

Lily

 

View solution in original post

2 REPLIES 2
v-LilyW-msft
Microsoft
Microsoft

Hi @RameshMukka 

Thank you for posting.

When you initialize a variable, if the data type is String or Array, it can be reset to null. Unfortunately, if the data type is Float or integer, its value will be set to 0 by default, so it can not be reset to null.

You can use Condition to judge whether the value of the variable is 0, and proceed to the next step according to the judgment result.

v-LilyW-msft_0-1621493070677.jpeg

 

Hope the content above may help you.

Best Regards

Lily

 

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,593)