スナップショット取得エラーが表示されるフロー実行の失敗の解決Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } フローを (テスト経由で、またはトリガーして) 実行しても、フローは実行されません。ノードログを確認すると、エラーが記録されます:テスト用のスナップショットを取得できませんでした (Could not retrieve snapshot for test) Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } 全てのサポートされているリリース Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } フローデザイナーでフローの実行に問題が発生したため、ノードログを使用して問題を正確に特定する必要があります。 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: block; max-width: ; width: auto; height: auto; } } [フロープロパティ] を使用して [デバッグ] にフローデザイナーログを設定します ([ログレベル] フィールドを指定)テストを繰り返し、同じエラー (テスト用のスナップショットを取得できませんでした) を探します。終わりです[DEBUG: Flow Designer: Compiling] フロー <フロー名>その他をすべて削除読みやすくするには、不要な参照を削除する必要があります。ビジネスルール、異なるスレッド、異なるユーザーでのアクティビティなどへの参照最終的に表示されるのは、何が起こっているのかを説明する約30行のログ行です。Flow Designer でフローを参照してそれを読みます Flow Designer にて: Flow Properties に移動し、ログレベル フィールドを Debug に設定します。Flow テストを再度実行して、エラーを再現します。「テストのスナップショットを取得できませんでした」というエラー メッセージを探します。 Node ログのにて: ログ セクションの開始点を見つけます。これは、「DEBUG: Flow Designer: Compiling flow [フロー名]」で始まります。ビジネス ルールへの参照、異なるスレッドでのアクティビティ、異なるユーザーなど、関連のないエントリを削除します。障害箇所を特定するには、Flow Designer でフローを参照しながら、残りのログ エントリ (約 30 行) を確認します。 たとえば、次のログスタックについて考えてみます。 DEBUG: Flow Designer: Compiling flow TestFlow | Change DEBUG: Flow Designer: Step Get Catalog Variables Step Created with an input count of 3 and an output count of 0DEBUG: Flow Designer: Step Get Catalog Variables Step Created with an input count of 3 and an output count of 5DEBUG: Flow Designer: Action created with an input count of 3 an output count of 5 DEBUG: Flow Designer: Step Lookup Record step Created with an input count of 5 and an output count of 2DEBUG: Flow Designer: Step Lookup Record step Created with an input count of 5 and an output count of 2DEBUG: Flow Designer: Action created with an input count of 5 an output count of 2 DEBUG: Flow Designer: Step Create Task step Created with an input count of 4 and an output count of 2DEBUG: Flow Designer: Action created with an input count of 3 an output count of 2 DEBUG: Input param1 assigned with a reference count of 1DEBUG: Input param2 assigned with a reference count of 1 SEVERE *** ERROR *** Flow Designer: nullSEVERE *** ERROR *** Flow Designer: Could not retrieve snapshot for testcom.glide.flow_trigger.engine.FlowSnapshotPlanRetriever.retrieve(FlowSnapshotPlanRetriever.java:33)com.snc.process_flow.engine.serialization.PlanProxy.plan(PlanProxy.java:43) ここで行われているのは、フローのさまざまなアクションを実行し、すべてをコンパイルすることです。フロー内で確認すると、次のような結果が表示されます。 1) カタログ変数の取得:OK2) ルックアップレコードの参照:OK3) タスクの作成:OK ここまではすべて正常に動作しています。フロー実行の次のステップで失敗する可能性があります。エラーの「null」は、入力値が不足している可能性があります。ログには次のように出力されています。 DEBUG: Input param1 assigned with a reference count of 1DEBUG: Input param2 assigned with a reference count of 1 これらは次のステップの入力です。最初の2つ (パラメータ1とパラメータ2) は正常に動作しますが、3つ目は失敗します。