cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

UI Flows on 2020 release wave 2, Passing tables from AI builder forms processing

Hi,

 

The tables and other fields are extracted from the Ai builder, forms processing.

The same data is being used as an input to UI flows. The flows have been recorded using Power Automate desktop and contain a loop within for access this table and create lines.

 

How to pass these values to UI flows from the tables extracted form AI builder, forms processing.

eg:

 

common data : Invoice no, date, vendor code

Tabular data : Table extracted form forms processing contains : Item name, qty and amount

 

expectation :The UI builder will fill the header portion with common data and the loop will fill up the lines for each line of tabular data .

 

Current behaviour : when trying to create a flow it loops the entire UI flow for each line of tabular data.

 

How to achieve the same.

 

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

Hi @kameshprsd ,

 

Currently Power Automate Desktop only supports as inputs strings and not arrays – this is on the roadmap and will come in an upcoming update.

Having said that, there is a workaround to send array data to Power Automate Desktop.

1. You will need to save each column from the table returned by AI Builder into an Array variable, like this:

2020-10-31_22-01-50.png

 

2. On Power Automate Desktop define an input, in the example you can see on the screenshot I’ve named it: ‘ListDescription’

On Power Automate Desktop the first step you need to add the action Convert JSON to custom object, the input object is ListDescription (or how you have named your input variable).

This action will give you a list object you can iterate, for example in a For each loop:

 

2020-10-31_22-00-33.png


I hope this gives you some guidance. 🙂

View solution in original post

2 REPLIES 2
Power Apps
Power Apps

Hi @kameshprsd ,

 

Currently Power Automate Desktop only supports as inputs strings and not arrays – this is on the roadmap and will come in an upcoming update.

Having said that, there is a workaround to send array data to Power Automate Desktop.

1. You will need to save each column from the table returned by AI Builder into an Array variable, like this:

2020-10-31_22-01-50.png

 

2. On Power Automate Desktop define an input, in the example you can see on the screenshot I’ve named it: ‘ListDescription’

On Power Automate Desktop the first step you need to add the action Convert JSON to custom object, the input object is ListDescription (or how you have named your input variable).

This action will give you a list object you can iterate, for example in a For each loop:

 

2020-10-31_22-00-33.png


I hope this gives you some guidance. 🙂

View solution in original post

Regular Visitor

HI @JoeF-MSFT 

 

Thank you for the steps, going to use the same to test it out.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (8,187)