<h2>ライフサイクルイベントのベストプラクティスとパフォーマンスの期待</h2><br/><div style="overflow-x:auto"><style type="text/css"><!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } </style> <div class="ns-kb-css-body-editor-container"> <p style="margin: 0in; font-size: 12pt;">このドキュメントでは、独自のテストとお客様との作業経験に基づいて、ライフサイクルイベントを作成するときにパフォーマンスを最適化し、実行時の問題を回避するためのベストプラクティスを共有します。すべての考慮事項をカバーすることを意図したものではなく、実装ガイダンスの唯一の情報源として扱うべきではありません。</p> <h1 style="margin: 12pt 0in 0in; break-after: avoid; font-size: 16pt;">ライフサイクルイベントの一般的なベストプラクティス</h1> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>徹底的なテストを行わずに進行中のケースがある場合は、本番環境でライフサイクルイベントを変更しないでください。</strong> 構成を変更すると、ワークフロー内のどの段階にあるかによっては、進行中のケースに予期しない結果が生じる可能性があります。本番環境で変更が必要で、進行中のケースがある場合は、次のことをお勧めします。 <ol style="list-style-type: lower-alpha; margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">既存の LE ケースをクローンして本番化し、テストして、問題がないかどうかを確認します。</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">ライフサイクルイベントをクローンし、新しいライフサイクルイベントで新しいケースを作成する。 <strong>注意</strong>:このアプローチでは、オーバーヘッド/メンテナンスが増えます (たとえば、顧客は新しい LE タイプを指すように HR サービスを更新または作成する必要がある場合があります)。また、顧客が既存/進行中のケースに新しい構成変更を適用することを希望する場合、これは顧客のユースケースを満たしていません。</li></ol> </li></ol> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>トリガー済みのライフサイクルイベントケースの対象者を変更したり</strong> 対象者のいないライフサイクルイベントケースを作成したりしないでください。これにより、ワークフローに問題が発生する可能性があります。</li></ol> <p style="margin: 0in 0in 0in 0.5in; font-size: 12pt;"><strong> </strong></p> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;" start="2"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>アクティビティセットをより即座にトリガーするように評価間隔を変更しようとする場合は注意が必要です</strong> - アクティビティセットをより即座にトリガーするには、 <a style="color: #0563c1; text-decoration: underline;" href="https://www.servicenow.com/docs/bundle/xanadu-employee-service-management/page/product/human-resources/task/le-eval-interval-business-rule.html" target="_blank" rel="noopener noreferrer">条件付きビジネスルール</a>を使用することをお勧めします。これが発生した場合は、[ケースを再開] ボタンを使用して処理を再実行し、キャンセルされたアクティビティを再処理できます。以下は、顧客が並列処理スレッドが消費されると予想できるタイミングを示す最大アクティビティ数に基づく計算の表です。 <img style="display: block; margin-left: auto; margin-right: auto;" src="/sys_attachment.do?sys_id=ad575fa187fdd29057288519dabb35d0" alt="" width="360" height="122" /></li></ol> <p style="margin: 0in 0in 0in 0.5in; font-size: 12pt;"> </p> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;" start="3"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>取り消しとキャンセル</strong>いつ使用しますか?取り消すは、既に開始されているプロセスを撤回する必要がある場合に使用する必要があります。たとえば、既にオンボーディングプロセスを開始しているが、組織に参加しないことにした新規雇用者がいる場合は、そのライフサイクルイベントケースを取り消すことができます。これにより、ライフサイクルイベント用に構成したロールバックプロセスがトリガーされ、結果として適切なアクティビティがトリガーされる (またはトリガーされないようにする) ようになります。トリガーするカウンタープロセスが必要ない場合は、ケースをキャンセルできます。</li></ol> <p style="margin: 0in 0in 0in 0.5in; font-size: 12pt;"> </p> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;" start="4"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>resume を使用するタイミング:</strong> ケースの「再開」には次の 2 つの用途があります。 <ol style="list-style-type: lower-alpha; margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">LE アクティビティセットでエラーが発生したか、キャンセルされた場合。エラーを修正してから、ケースを再開する必要があります。 <ol style="list-style-type: lower-roman; margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 12px; font-size: 12pt;"><strong>変更を適用してワークフローを再開するために、アクティビティセットを手動でエラー処理しないでください</strong>。これにより、古いコンテキストが計算リソースを使用してアクティブな状態のままになっているときに、ワークフローコンテキストがぶら下がっています。 </li><li style="margin: 0in 0in 0in 12px; font-size: 12pt;"><strong>重要:ケースの作業メモを参照して、ケースでエラーが発生した理由を確認することもできます。 </strong></li></ol> </li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">ケースを一時停止し、それを「再開」する準備ができている場合。一時停止/再開機能を使用するタイミングの詳細については、 <a style="color: #0563c1; text-decoration: underline;" href="https://docs.servicenow.com/csh?topicname=t_SuspendAndResumeAnHRCase.html&version=latest">ドキュメントを参照してください。</a></li></ol> </li></ol> <p style="margin: 0in 0in 0in 0.5in; font-size: 12pt;"> </p> <ol style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;" start="5"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>ライフサイクルイベントのトリガーに使用されている HR サービスでライフサイクルイベントタイプを指定するときは注意が必要です。</strong> タイプには、同じライフサイクルイベント内のアクティビティによって呼び出される同じライフサイクルイベントタイプを含めることはできません。これにより無限ループが発生します。ライフサイクルイベントタイプは、選択したライフサイクルイベントをトリガーするために使用されます。ライフサイクルイベントから HR ケースを作成しようとしている場合は、通常の HR サービスを使用する必要があります。</li></ol> <p style="text-align: center; margin: 0in; font-size: 12pt;"><img src="/sys_attachment.do?sys_id=a9575fa187fdd29057288519dabb35d7" width="353" height="168" border="0" /></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 16.0pt;"> </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 16.0pt;">ライフサイクルイベントでのパフォーマンスのベストプラクティス</span></p> <p style="margin: 0in; font-size: 12pt;"><strong>トラブルシューティングのベストプラクティスに関する FAQ </strong><a style="color: #0563c1; text-decoration: underline;" href="/kb?id=kb_article_view&sysparm_article=KB1117350"><strong>こちらを参照してください</strong></a></p> <p style="margin: 0in; font-size: 12pt;"><strong>TLDR:基盤となるワークフローが複雑であるほど、[ライフサイクルイベント要求] ページ (hrm_ticket_page) での従業員とマネージャーのアクティビティのロード時間が遅くなります。 </strong> </p> <ul style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">注意:このドキュメントは、新しいジャーニーデザイナー UI には関連しておらず、要求ページ(hrm_ticket_page)にのみ関連します。ジャーニーページのパフォーマンスが向上します。ジャーニーデザイナーについて詳しく知りたい方</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">ライフサイクルイベントの従業員エクスペリエンスを移行して新しいジャーニーデザイナーを活用する方法について詳しくは、この <a style="color: #0563c1; text-decoration: underline;" href="https://www.servicenow.com/community/hrsd-blog/migrating-from-lifecycle-events-to-journey-designer/ba-p/2354912">コミュニティの投稿</a> および参照された移行ガイドを参照してください。</li></ul> <p style="margin: 0in; font-size: 12pt;"><strong> </strong></p> <p style="margin: 0in; font-size: 12pt;"><strong>アクティビティセットに含めるアクティビティの最大数はいくつですか?</strong></p> <p style="margin: 0in; font-size: 12pt;">パフォーマンスはアクティビティの数とアクティビティの複雑さの関数であるため、答えは 1 つではありません。アクティビティセットの一部かアクティビティコンテナーかにかかわらず、一度に 10 個以下のアクティビティをトリガーすることをお勧めします。一度にトリガーする回数が多いほど、パフォーマンスは低下します。アクティビティが複雑でない場合は、これを超えてもかまいません。次の要因は、さらにパフォーマンスに影響を与える可能性があります。</p> <ul style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">従業員が HR サービスをトリガーするタスク (カタログ要求など) を完了しています。要求が複雑であればあるほど、パフォーマンスは低下します。</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">複数のアクティビティセットを一度にトリガーする (バックグラウンド呼び出しが多いほど、パフォーマンスは低下します)</li></ul> <p style="margin: 0in; font-size: 12pt;"><strong> </strong></p> <p style="margin: 0in 0in 0in 0.25in; font-size: 12pt;"><strong>お客様の例: </strong></p> <p style="margin: 0in 0in 0in 0.25in; font-size: 12pt;"><strong>顧客 1: </strong>顧客には 5 つのアクティビティセットにわたる 42 のアクティビティがあります</p> <ul style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 24px; font-size: 12pt;"><strong>ケースの作成: </strong>90 〜 120 秒</li><li style="margin: 0in 0in 0in 24px; font-size: 12pt;"><strong>従業員のアクティビティロード時間:</strong> 1 つのアクティビティの完了から次のアクティビティのリロードまで 7 〜 10 秒</li></ul> <h1 style="margin: 12pt 0in 0in; break-after: avoid; font-size: 16pt;">パフォーマンス測定基準</h1> <h4 style="margin: 2pt 0in 0in; break-after: avoid; font-size: 12pt;">このドキュメントでは、次の UI について説明します。</h4> <ul style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;"><strong>要求ページ</strong> (特にライフサイクルイベント用)</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">注意:要求 UI は、ジャーニーデザイナー (Tokyo+) で利用可能な新しいジャーニーページよりもパフォーマンスが遅くなります。</li></ul> <p style="margin: 0in 0in 0in 0.5in; font-size: 12pt;"> </p> <h2 style="margin: 2pt 0in 0in; break-after: avoid; font-size: 13pt;">[要求] ページのライフサイクルケースのパフォーマンスメトリクス:</h2> <p style="margin: 0in; font-size: 12pt;">以下は、ライフサイクルイベントに関連するパフォーマンスの期待値です。次のリリースで改善と更新を行いました:</p> <ul style="margin-bottom: 0in; margin-top: 0px; list-style-position: inside;"><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">従業員センター Core 27.1.1 ストアリリース</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">Utah ファミリー:デスクトップとモバイルの [要求] ページでレコード監視の複雑さを軽減することでパフォーマンスが向上</li><li style="margin: 0in 0in 0in 0px; font-size: 12pt;">バンクーバーファミリー:今後の調査に基づいて、引き続きパフォーマンスの改善を行っていきます。</li></ul> <p style="margin: 0in; font-size: 12pt;">注意:これらの更新により、[要求] ページのパフォーマンスが向上します。</p> <p style="margin: 0in; font-size: 12pt;"> </p> <h2 style="margin: 2pt 0in 0in; break-after: avoid; font-size: 13pt;">[要求] ページのライフサイクルケースのパフォーマンスメトリクス:</h2> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;">パフォーマンスメトリクスを実行して、あるアクティビティが完了して次のアクティビティがロードされるまでにかかる時間を把握しました。 </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;"> </span></p> <h3 style="margin: 2pt 0in 0in; break-after: avoid; font-size: 12pt;">観察事項:</h3> <ul style="margin-top: 0in; margin-bottom: 0in; list-style-position: inside;" type="disc"><li style="font-size: 11pt; font-family: Calibri, sans-serif; color: black;">「電子署名」、「完了としてマーク」、およびラーニングタイプのアクティビティは、次のアクティビティのロードに 4〜10 秒かかります。</li><li style="font-size: 11pt; font-family: Calibri, sans-serif;">後続のケースまたは要求を送信するアクティビティには、10 秒から 15 秒と長くかかります。 <ul style="margin-top: 0in; margin-bottom: 0in; list-style-position: inside;" type="circle"><li style="font-size: 11pt; font-family: Calibri, sans-serif;">例:IT 要求、注文ガイドの送信、レコードプロデューサーの送信 (完全なプロファイル情報により、レコードプロデューサーが送信され、ケースが作成されてクローズされます)</li></ul> </li><li style="font-size: 11pt; font-family: Calibri, sans-serif;">アクティビティセット内の最後のアクティビティが完了すると、次のアクティビティのロードが開始されるため、ロード時間が遅くなります (下のデータを参照)</li></ul> <p style="margin: 0in; font-size: 12pt;"><strong><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;"> </span></strong></p> <p style="margin: 0in; font-size: 12pt;">パフォーマンスデータ – デモデータ</p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;">これらの結果では、新規雇用オンボーディングのデモデータを使用しています。 </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;">注:完了までの時間は秒単位です。 </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 10.0pt; font-family: Calibri, sans-serif; color: black;"> </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 13.0pt;"><img src="/sys_attachment.do?sys_id=f5579fa187fdd29057288519dabb3573" width="361" height="251" border="0" /></span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 13.0pt;"> </span></p> <p style="margin: 0in; font-size: 12pt;">パフォーマンスデータ – アクティビティセット内の 50 のアクティビティ</p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;">これらの結果は、「完了としてマーク」および「ビデオを見る」タイプのアクティビティ </span><span class="MsoCommentReference"><span style="font-size: 8.0pt;"><a id="_anchor_1" style="color: #0563c1; text-decoration: underline;" href="#_msocom_1" name="_msoanchor_1">[NH1]</a> </span></span><span class="MsoCommentReference"><span style="font-size: 8.0pt;"><a id="_anchor_2" style="color: #0563c1; text-decoration: underline;" href="#_msocom_2" name="_msoanchor_2">[NH2]</a> </span></span><span class="MsoCommentReference"><span style="font-size: 8.0pt;"><a id="_anchor_3" style="color: #0563c1; text-decoration: underline;" href="#_msocom_3" name="_msoanchor_3">[LC3]</a> </span></span><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;">を使用して、複雑さの少ないタスクタイプ(ボリュームが大きい場合でも)ロード時間が短いことを示しています。</span></p> <p style="margin: 0in; font-size: 12pt;"><img src="/sys_attachment.do?sys_id=a5575fa187fdd29057288519dabb35d4" alt="" width="235" height="418" /></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;"> </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;"> </span></p> <p style="margin: 0in; font-size: 12pt;"><span style="font-size: 11.0pt; font-family: Calibri, sans-serif; color: black;"> </span></p> <div> <div> <div id="_com_1" class="msocomtxt"></div> </div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></div>