ここでは、OpenRPAが終了するまで無限に稼働し続けるDetectorの
使用方法について説明します。
OpenRPA内のメインシーケンスにDo WhileActivityをドラッグします。そのCondition
パラメータをTrueに
設定します。
![images/openrpa_using_detectors_do_while.png](https://docs.openiap.io/images/openrpa_using_detectors_do_while.png)
ここでユーザーは、Do Whileアクティビティの中にSequenceアクティビティをドラッグする必要があります。
![images/openrpa_using_detectors_drag_sequence.png](https://docs.openiap.io/images/openrpa_using_detectors_drag_sequence.png)
Detectorアクティビティをシーケンスに追加し、起動するDetectorを
選択します。この例では、Excel Detectorを
選択します。
![images/openrpa_using_detectors_drag_detector.png](https://docs.openiap.io/images/openrpa_using_detectors_drag_detector.png)
これで、ユーザーはOpenRPAに実行させたいアクティビティやシーケンスを追加でき、検出器の発火と同時に実行されるようになります。