Flow designer not activating or showing snapshot when testing

Bart Jan Bultma
Kilo Sage

My colleague has created a flow that runs of a catalog item.
Since last thursday whenever we try to test this flow, we do not get a snapshot, instead the message 'Could not retrieve snapshot for test Open Context Record' I have tried activating the flow but it does not seem to run, there are no executions and nothing seems to happen to the requested item.

In the context record the top and bottom rows are:

 

Could not retrieve snapshot for test:

com.snc.process_flow.exception.ProcessAutomationException: Could not retrieve snapshot for test

...

Caused by: java.lang.NullPointerException

 

what exactly is happening here and how do I debug it? I have tried quite a number of possible solutions, changing and removing steps here and there.

1 ACCEPTED SOLUTION

Bart Jan Bultma
Kilo Sage

The error has been found. A record reference in one of the last steps was no longer pointing towards the correct record, but instead to an odd string. I used the pill picker to point it to the right record and now the snapshot is working again!

View solution in original post

3 REPLIES 3

Saurav11
Kilo Patron
Kilo Patron

Hello

 

Please find below the support article for the same issue:-

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0854540

 

Please mark answer correct based on inpact.

I dont believe this problem is related, it is a different error

Bart Jan Bultma
Kilo Sage

The error has been found. A record reference in one of the last steps was no longer pointing towards the correct record, but instead to an odd string. I used the pill picker to point it to the right record and now the snapshot is working again!