INSFIELD
このヘルプページはStudio向けです。 この情報はDesktop Studioでも利用可能です。
|
|
パイプ記号(|)で区切られた、区切られた文字列リスト配列に新しいフィールドを挿入します。 |
サポートされているスクリプトタイプ
|
|
|
|
|
|
|
|
|
一般的 |
Eメール | チャット | 電話 | ボイスメール | ワークアイテム | SMS |
類似アクションの比較
Insfield アクションは、Fieldアクションと同様に文字列を処理しますが、文字列を読み取るのではなく、Insfield は文字列に新しいメンバーを挿入します。例:
- 文字列:1、2、3、4、5、6
- 挿入するフィールド:ドーナツ
- 区切り文字: 、
- フィールドインデックス: 3
- 結果変数:newString
結果として得られる変数newStringには、次の内容が含まれるようになります。one,two,donut,three,four,five,six。フィールドの削除については、Remfield アクションを参照してください。
入力プロパティ
これらのプロパティは、アクションが実行時に使用するデータを定義します。
|
プロパティ |
説明 |
|---|---|
|
キャプションを追加 |
スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 |
| 文字列 | The string you want to insert, search, or parse. This property supports variable substitution. If this value is a variable, rather than the literal string value, use curly brackets ( { } ). |
| 挿入するフィールド | The string to insert. |
| 区切り文字 | 個々のフィールドを区切るために使用される文字を決定します。 デフォルトはパイプ(|)文字です。 |
| フィールドインデックス | The number indicating which property to extract, starting with 1. This property is looking for a number, therefore, you do not need to use curly brackets {}. |
| 結果変数 | The variable name that is created and holds returned information. For example, if the contact enters their account number as 123456, then the variable holds 123456. |
結果の分岐条件
結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。
|
条件 |
説明 |
|---|---|
|
デフォルト |
Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined. |