フロー実行時にスナップショット取得エラーが表示されるフロー実行失敗の解決Issue <!-- /*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: ; } } フローをテスト実行する場合、またはトリガーして実行する場合に、実行に失敗します。ノードログを確認すると、次のエラーが表示されます: Could not retrieve snapshot for test Release<!-- /*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: ; } } すべてのサポートされているリリース Cause<!-- /*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: ; } } Flow Designer がフローの実行中に問題に直面しました。正確な原因を特定するには、ノードログを使用してください。 Resolution<!-- /*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: ; } } Flow Designer で: Flow Properties に移動し、log level フィールドを Debug に設定します。フローのテストを再度実行して、エラーを再現します。エラーメッセージ "Could not retrieve snapshot for test" を探します。 ノードログで: ログセクションの開始位置を見つけます。これは次の内容で始まります: DEBUG: Flow Designer: Compiling flow [flow name].ビジネスルールへの参照、異なるスレッドでのアクティビティ、または異なるユーザーに関するアクティビティなど、無関係なエントリを削除します。失敗箇所を特定するために、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) このスタックは、フローのさまざまなアクションを通過し、すべてをコンパイルしようとしています。フロー内で確認すると、次のような内容が表示されるはずです: Get Catalog Variables: OKLookup Record: OKCreate Task: OK フローは実行中の次のステップで失敗している可能性があります。エラー内の 'null' は、不足している入力値である可能性が高いです。ログには、次のステップに対して次の入力が表示されています: DEBUG: Input param1 assigned with a reference count of 1 DEBUG: Input param2 assigned with a reference count of 1 最初の 2 つ(param1 および param2)は正常に動作していますが、3 つ目は失敗しており、その結果として null エラーが発生しています。