Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
13
Help us understand the problem. What is going on with this article?

More than 1 year has passed since last update.

@kojisaiki

Power Automate 上で複数行文字列を改行で分割する

基本的には split 関数で値を分割することができます。
https://docs.microsoft.com/ja-jp/azure/logic-apps/workflow-definition-language-functions-reference#actionbody

ただし、カンマ等の文字はすんなり渡せるのですが、改行コードは、split(variables("hoge"), "\n") のように指定しても分割してくれません(エスケープシーケンスがだめ?)。

現時点では、次のように

  • 改行だけをもつ文字列変数を作成
  • 改行を持つ変数を指定してsplitを実行

とすることで実現できます。

image.png

参考

動作確認履歴

2020/5/29 時点でもこの方法が必要でした。

13
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
13
Help us understand the problem. What is going on with this article?