サーバー管理 > イベントトリガーを使用したタスクの自動化とデータの計算 > ワークフローとドキュメントのトリガーのコーディング > スクリプトの説明
  
スクリプトの説明
ワークフローとドキュメントのトリガー スクリプトの最初のコメント テキストは、「説明」Windchill RV&S Administration Client タブに表示されます。HTML タグにより、書式設定が追加されます。
たとえば、次のようなスクリプト コードがあるとします。
// <b>Windchill RVS Manager Scheduled Trigger</b>
// <p>
// This script is used to escalate an item from a scheduled trigger.
// Each item that the trigger's query matches has a field, termed the
// priority field, which is incremented to the next valid value
// (subject to the maximum limits of that field).
// <p> // When escalated, the current time of the escalation can be recorded,
// to allow for the query to not match items which have been escalated
// for some period.
// <p>
// Each item that is escalated is summarized in one line,
// and is emailed to the appropriate recepient.
// If the query matches nothing, no email is sent.
//
この場合、「説明」 タブには次のように表示されます。
Windchill RVS Manager Scheduled Trigger
This script is used to escalate an item from a scheduled trigger.
Each item that the trigger's query matches has a field, termed the
priority field, which is incremented to the next valid value (subject
to the maximum limits of that field).
When escalated, the current time of the escalation can be recorded,
to allow for the query to not match items which have been escalated
for some period.
Each item that is escalated is summarized in one line, and is emailed
to the appropriate recepient. If the query matches nothing, no email
is sent.