ロボットの実行トリガーを確認する方法

フォローする

概要

ロボットがどのような方法で実行されたのかを確認したい場合、MCの監査ログから確認できます。
監査ログで確認できる実行方法と、それぞれの方法でロボットを実行した場合の監査ログについては下記を参考にしてください。

■監査ログで確認できる実行方法一覧

【「リポジトリ(Repository)」タブ > 「ロボット(Robots)」タブ内】
・「Run Now(すぐに実行)」
・「REST」
・「SOAP」

【「スケジュール(Schedule)」タブ 内】
・「実行(RUN)」

【「カプレット(Kapplet)」内】
・「START KAPPLET」
・「Schedule run」

 

■各実行方法からロボットを実行した場合の監査ログ

【「リポジトリ(Repository)」タブ > 「ロボット(Robots)」タブ内】

・「Run Now(すぐに実行)」から実行した場合

2020-02-13 16:47:58,634 - Robot {ロボット名} with id = 75006 execution id = -1- 8-58c5a1b8200 task id = 8 has requested to start
2020-02-13 16:47:58,634 - {ユーザ名} run Robot {ロボット名} with id = 75006 task id = 8

 

・「REST」から実行した場合
ログの末尾に「from REST」と記載されます。

2020-02-13 13:26:48,522 - Robot {ロボット名} with id = 15001 execution id = -1-6-3fc5a32df534 task id = 6 has requested to start
2020-02-13 13:26:48,524 - {ユーザ名} run Robot {ロボット名} from Project Default project with task id = 6 from REST

 

・「SOAP」から実行した場合
ログの末尾に「from SOAP」と記載されます。

2020-02-13 12:02:46,904 - Robot {ロボット名} with id = 15 execution id = -1-5-3fc5a32df534 task id = 5 has requested to start
2020-02-13 12:02:46,913 - {ユーザ名} run Robot {ロボット名} from Project Default project with task id = 5 from SOAP

  

【「スケジュール(Schedule)」タブ 内】

・「実行(RUN)」から実行した場合

※スケジュールで実行された場合は、監査ログには出力されません。

ログの末尾に「from schedule, started by user」と記載されます。

2020-02-13 16:56:46,775 - Robot {ロボット名} with task id = 19 has been queued for schedule {スケジュール名} with id = 17091200585061
2020-02-13 16:56:46,778 - Robot {ロボット名} with id = 75006 execution id = 25433- 19-58c5a1b8200 task id = 19 has requested to start - from schedule, started by user

 
【「カプレット(Kapplet)」内】

・「START KAPPLET」から実行した場合

ログの末尾に「from Kapplet, started by user」と記載されます。

2020-02-13 13:43:08,989 - {ユーザ名} start Kapplet {カプレット名} with id = 31f4ac62-bd16-4c99-b402-1ebf36cd234f
2020-02-13 13:43:09,119 - Robot {ロボット名} with task id = 9 has been queued for Kapplet {カプレット名} with id = 31f4ac62-bd16-4c99-b402-1ebf36cd234f
2020-02-13 13:43:09,139 - Robot {ロボット名} with id = 15001 execution id = -1-9-3fc5a32df534 task id = 9 has requested to start - from Kapplet, started by user

 

・「 Schedule run」から実行した場合

ログの末尾に「from Kapplet」と記載されます。

2020-02-13 17:08:00,246 - Robot {ロボット名} with id = 75008 execution id = -1- 30-58c5a1b8200 task id = 30 has requested to start - from Kapplet

前提

・監査ログが有効になっていること

参考

実行ロボットの監査ログ取得設定方法

区分 確認Ver
手順 10.3.0.7