Flows - Evaluate block not outputting data if any variables are null

I’m trying to evaluate the percentage of passed tests from multiple requests in an evaluate block. In the event that all requests succeed, it will output data properly and we will see the data reflected in the Display block.

However, if any of the requests fail, then no data will be outputted from the Evaluate block, even if the Evaluate block itself shows (squared in the below picture) that it is outputting data. I am ignoring any of the null request input data and trying to just evaluate the passed test percentage from the requests that did run successfully.

Hi @dusle

Welcome to the forums!

The evaluate block will need all it’s inputs before it executes so if a request fails you can have a default value it sends to the evaluate block to still trigger that port.

Since you’re using variables you can connect both the success and failure ports of the send request block to a select block (blank path is fine) and then connect that select block to the variable since only the success or failure port will fire.

Let me know if this works for you!

1 Like