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

How to preserve output variable data type

When I run a desktop flow that reads values from a range of cells from Excel, the variable produced is a data table data type. When I try to pass that variable as an output variable to another flow, it is automatically converted to text. How can I preserve the data table data type for output variables?

1 ACCEPTED SOLUTION

Accepted Solutions
DABot
New Member

My solution was to copy the desktop flow that reads the Excel range into the calling flow as a sub flow. I had to modify the input/output variables a bit, but this was a fairly simple solution that preserves the data table for that variable.

View solution in original post

5 REPLIES 5
Pstork1
Dual Super User
Dual Super User

Have you tried converting the table to JSON and then send the JSON to the other flow where it can then be Parsed?



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!
John_Mavridis
Microsoft
Microsoft

Hello,

 

That's indeed a limitation for the time being, as Power Automate Desktop currently only supports text and sensitive text as input variables. Supporting more variable types like lists and data tables is in the mid-term roadmap of the product, and will probably take place over the coming months.

Interesting info! What about variable types such as browser instances and even UI elements?

DABot
New Member

My solution was to copy the desktop flow that reads the Excel range into the calling flow as a sub flow. I had to modify the input/output variables a bit, but this was a fairly simple solution that preserves the data table for that variable.

yoko2020
Responsive Resident
Responsive Resident


@Henrik_M wrote:

Interesting info! What about variable types such as browser instances and even UI elements?


@Henrik_M 

I think we need to wait. Let the developers do their work . 

I remember you in ProcessRobot forum 😂.

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (2,291)