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
Solved! Go to Solution.
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:
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:
I hope this gives you some guidance. 🙂
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:
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:
I hope this gives you some guidance. 🙂