Sqlexec
このヘルプページはDesktop Studio向けです。 この情報はStudioにも利用可能です。
|
|
記録を更新中または挿入する目的で、SQL(Structured Query Language)ステートメントをデータベースサーバーに送信します。 データベースサーバーの詳細については、 |
サポートされているスクリプトタイプ
|
|
|
|
|
|
|
|
|
|
一般的 |
Eメール | チャット | 電話 | ボイスメール | ワークアイテム | SMS |
|
入力プロパティ
これらのプロパティは、アクションが実行時に使用するデータを定義します。
|
プロパティ |
説明 |
|---|---|
|
キャプション |
スクリプト内でこのアクションを一意に識別できる、短いフレーズを入力します。 アクションアイコンにカーソルを合わせるとキャプションが表示されます。 |
|
SQLStatement |
データベースサーバーに送信されるSQLステートメント。 このステートメントは記録を返しません。 |
|
FetchIdentityVar |
挿入からID値を受け取る変数の名前。 このプロパティは、挿入する表にID列が含まれている場合にのみ使用されます。 |
|
TimeoutSec |
アクションが実行されるまで待機してからタイムアウトするまでの秒数です。 |
結果の分岐条件
結果の分岐条件を使用すると、アクションが実行されたときにさまざまな結果を処理できるように、スクリプトにブランチを作成できます。
|
条件 |
説明 |
|---|---|
|
デフォルト |
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. |
| OnError | Path taken when the action fails to execute properly. For example, when there is an unexpected problem such as poor connectivity, syntax errors, and so on. The _ERR variable, with a single underscore character, should be populated with a condensed explanation of the problem. |
| OnTimeout | Path taken if there is no response for the number of seconds specified. |