cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kameshprsd
Frequent 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
JoeF-MSFT
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
JoeF-MSFT
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

kameshprsd
Frequent Visitor

HI @JoeF-MSFT 

 

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

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

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