Flow error: Could not retrieve snapshot for the test

Ivar Donado
Mega Sage

Hi guys,

I don't usually ask stuff here and rather try to figure them out by myself without bothering anyone else, but this time I can't seem to find a solution.

I've been working on a Flow for a while. A few days ago I added new items (a custom action that sends an specific notification and some logs) and it worked fine. Today I needed to add one more item, and before that I decided to test the flow but I'm getting an Internal Server error: Could not retrieve snapshot for the test.

I've been checking the changes performed and can't find the issue here. I even removed the actions I added last time but the issue persisted.

 

find_real_file.png

12 REPLIES 12

Oh, I didn't know about that.

I got this log. There doesn't seem to be items there that indicate an error ocurring through any of the actionsthere, but rather the instance didn't find a Snapshot before beggining to process the content of it.

Hi Ivar,

Did you followed the resolution steps mentioned? Your log seems different than we expect as per this post.

  • Set the Flow Designer logs to Debug via the Flow Properties (specify log level field)
  • Repeat the test and look for the same error (Could not retrieve snapshot for test). This is the end
  • Look for the start: DEBUG: Flow Designer: Compiling flow <flow name>
  • Remove everything else
  • To make it more readable, you need to remove any references you don't need. References to Business Rules, activity on different threads, different users etc.
  • What you should end up with is a around 30 lines of log lines which should explain what is happening. Read through it referencing the Flow in Flow Designer

Thank you
Prasad

Yes, I followed them exactly as expained in the article. I think it looks different since the logs in the article expect SN to at least process the flow (thus debugging the different actions), whereas in my case the processing is not starting due to the platform not finding a snapshot.

Hi sys_hub_flow_snapshot sys_hub_action_type_snapshot Can you please check if any snapshot is blank for any action against your flow designer in above tables? Thank you Prasad

Indeed, all snapshots related to that flow in that table are blank, they contain nothing on the description field.