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.
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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,485)