LoginSignup
2
1

More than 3 years have passed since last update.

Microsoft Flow:文字列を区切ってループ処理

Last updated at Posted at 2019-07-06

仕様

  • 1. カンマ区切りの文字列を変数に格納。(変数の初期化により、変数宣言)
  • 2. 「split」関数で、カンマ区切り。(戻り値は、配列)
  • 3. 「Apply to each」で、上記のカンマ区切りした各値をOneDriveのファイルに書き出す。

pr1.png

  • 4.書き出すファイル名は、文字列結合の関数「concat」を使用し、以下の形式とする。「f_」は接頭辞。    - 形式:f_[区切り値] 

pr2.png

コードの補足

変数の参照

変数の参照は、「variables('変数名')」。

split
split(variables('test_var'), ',')

「Apply to each 」の各値の参照

「item()」関数で、ループの各値を参照。

concat
concat('f_', item())
2
1
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
2
1