The settings of Receive Task(Webhook).
The Receive Task Form.
Receive Task Form.
The URL of Receive Task.Combinations with other parts of speech
受信タスク(Webhook)で話す内容をTwilioに返します。
The Receive Task(Webhook) returns the Contents of talk to Twilio.受信タスク(Webhook)のURLを計算しています。
It calculates the URL of Receive Task(Webhook).
Finally, settings of Receive Task(Webhook).メッセージ開始イベント/受信タスク(Webhook)」。
Message Start Event/ Receive Task Webhook.
Event/ Receive Task.
Set the expiration to the Receive Task(Form).
The Receive Task Webhook.
The Receive Task.
The Receive Task Webhook.メール本文に次の「受信タスク(フォーム)」のURLが記載されていますね。
You will see the URL of the next Receive Task(Form) in the mail body.本文には、次の「受信タスク(フォーム)」にアクセスするためのURLを記載します。
For the body, create the URL for accessing the following Receive Task(Form).受信タスクが終了済みの場合は、通常の終了イベントにトークンが流れ、プロセスの処理はそのまま続くようにします。
If the Receive Task has been completed, the token flows to the normal End Event, and the processing of the Process continues as it is.アクションハンドラーの実行コマンド受信タスクアクションハンドラーは、SDKが作成したコマンド受信用タスクから呼び出されます。
Executing Action Handler Command reception task The SDK manages a dedicated task for receiving a command. This task will execute the action handler.受信タスク(フォーム)の設定を変えた上で、ワークフロー図は以下のように変更します。
After changing the settings of the Receive Task(Form), modify the Workflow Diagram as follows.アクションハンドラーのコールバック関数はプッシュ通知の受信タスク(スレッド)から呼び出されます。
The action handler callbackfunction is executed from the push notification reception task thread.電話がつながると、受信タスク(Webhook)にTwilioからのコールバックがあります。
When the phone is connected,there is a callback from Twilio to the Receive Task(Webhook).Callbackurl計算」では、次の受信タスク(Webhook)のURLを計算するようにします。
At the“callback url calculation”, it calculates the URL of the Receive Task(Webhook) below.コールバックURLは、5の受信タスク(Webhook)のURLです。
The callback URL is the URL of Receive Task(Webhook) in 5 below.すなわち、メッセージの待ち行列(メッセージキュー)や受信タスクの待ち行列は存在するが、送信タスクの待ち行列は存在しない。
So while there are queues of waiting messages and receiving tasks, the sending task does not go to WAITING state.ただし受信タスク(フォーム)を使い、途中で申し込み者のメールアドレスの存在確認を行っています。
However, we use a Receiving Task(Form) to confirm the existence of the applicant's email address on the way.これにより、「受信タスク(フォーム)」のアクセスURLがランダムになり、第三者からはわからなくなります。
With this, the access URL for the Receive Task(Form) will become random so that a third party person won't be able to access it.受信タスク(フォーム)のURLは類推が難しいとは言え、無期限だと攻撃されるリスクも高まります。
Even though it is difficult to guess the URL of the Receive Task(Form), the risk of being attacked is also increased if it does not have an expiration.タイマー中間イベント後、XORゲートウェイをはさみ、受信タスク未終了の場合のみ、全終了イベントにトークンが流れる(プロセスが強制終了される)ようにします。
Put an XOR gateway after the Timer Intermediate Event so that the token will flow to the Terminate end Event(the Process will be terminated forcibly)only when the Receive Task is not completed.このように、「メッセージ開始イベント(フォーム)」や「受信タスク(フォーム)」を用いることで、外部からもデータの入力ができるようになります。
In this way, by using Message Start Event(Form) and Receive Task(Form), data can be input from the outside.