Any number of nested when conditions can be specified. The anyOf condition will be true if at least one nested when condition is true.
when
anyOf