LoginSignup
6
4

More than 1 year has passed since last update.

Power Virtual Agentsにsharepointリストで検索した結果を返す

Last updated at Posted at 2022-01-30

はじめに

Power Virtual Agentsのために作成するフロー(power automate)の最後のアクション(Return value(s) to Power Virtual Agents)は、ループ処理する(apply to eachの中に入れる)ことができない。
入れようとすると、以下のようなエラーが出る。

選択した出力はコレクション内にあるため、アクセスするにはループする必要があります。このアクションは、foreach内には指定できません。

image.png

したがって、以下のような機能を実装したい場合に、以下に記載する対処法が必要である。

チャットボットで入力したキーワードで、sharepointリストを検索し、一致した行のデータをチャットボットに返す

対処法

チャットボットに返したいデータを文字列変数に格納し、文字列変数をチャットボットに返す。
image.png

参考にしたページ

6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4