cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kaushalk
New Member

Has anyone had any issues while trying to pass integer values from flow to powerapps?

I encountered this issue while trying to pass an integer input from flow to canvas app.

In this flow, I have two variables

 

1. FileID - Integer

2. FileID_textV - Assigned above file ID to a string variable

 

Screenshot-Flow.png

Now when I check in the canvas app, it only shows the text value.

 

Screenshot-flow1.png

However, text field is populating just fine. 

Screenshot-flow2.png

Is this a bug or am I missing something here? 

If there is a limitation like this, I guess I can pass the text value and convert it to int using value function within the canvas app.

However, I am curious to know what caused integers to not pass through.

 

Thanks

5 REPLIES 5
eka24
Super User
Super User

If it a textbox, change the format to number.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

v-siky-msft
Community Support
Community Support

Hi @kaushalk ,

 

I can reproduce your problem, and the workaround is to format the variable to integer by Int function.

Modify the FileID value to  int(variables('Var_FileID'))

Snipaste_2020-05-22_16-18-42.pngSnipaste_2020-05-22_16-20-07.png

 

Sik

Thanks for the workaround however, FileId is already an integer variable.

 

Why do I need to convert it to int again using an expression? Is this a bug/ known issue or is this the intended behavior?

Hi @kaushalk 

 

Yes, that seems to be a bug between integer variable and Respond action.

I will submit it to Microsoft, and reply in time if there is any update.

For now, please apply that alternative workaround.

Sik

Thanks for confirming. Hope this gets fixed soon.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,281)