
Announcements
I want to get data from Google Spreadsheet using Powerautomat Cloudflow. The number of columns is fixed, but the number of rows is variable.
I would like to pass the array-type data obtained from Cloudflow to the input variable of Desktopflow and use that data to enter data.
The data obtained from Cloudflow is as follows.
[
{
"Record number": "1",
"Customer name": "aaaa"
},
{
"Record number": "2",
"Customer name": "yyy"
}
]
The data type of the input variable of Desktopflow is Data Table, and the default value is 19 rows and 2 columns.
The default value is arbitrary.
Even if I run it like this, only the data in the first row (record number 1 customer name aaaaa) is inherited.
I am using Foreach to write it to Excel to check.
The input variable is converted to a list variable.
Can someone please give me some advice?
~
PowerautomatクラウドフローでGoogleスプレットシートのデータを取得します。列数は固定ですが行数は変動します。
クラウドフローで取得したアレイ型のデータをデスクトップフローの入力変数に引き渡し、そのデータを利用してデータ入力をしたいと考えております。
クラウドフローで取得したデータは下記のとおりです。
[
{
"レコード番号": "1",
"得意先名": "ああああ"
},
{
"レコード番号": "2",
"得意先名":"いいいい"
}
]
デスクトップフローの入力変数のデータ種類はデータターブルと、既定値は19行、2列としています。
既定値に関しては適当です。
これで実行をしても1行目のデータ(レコード番号1得意先名ああああ)しか引き継がれません。
確認のためにForeachを使ってExcelに書き込むようにしています。
入力変数はリスト変数に変換しています。
どなたか知恵をお貸しください。