Workflows: check if list is empty

There is! A recent update to Workflows JSONpath has brought support for many new JSONpath operators. In this case, you can use the length() operator in a Compare Numbers step to check for an empty list. Just replace the Value 1 JSONpath as follows:

$.getAccess.accessItems.length()

1 Like