Postman Flows - How to create a Durable with the Array length of a Request response body

Hello all,

I’m trying to create a Postman flow that has the following logic:
- Executes a GET call on system A, which return a JSON Array, of length X.
- Executes a GET call on system B, which return a JSON Array, of length Y.
- Checks if X == Y.
- If true, flow stops.
- If false, flow continues.

My issue is that I am not able to create a CHECK block that gets the length of the Arrays (i.e. len(body/items) ).

Was anyone capable of having a similar logic? Could you share?

Thank you!

I was able to make it work: