What is your goal?
To send an error if a filter returns more than one result
What is the problem?
Hi everyone,
I’m working on a scenario where I expect the filter to allow only one result to pass through. However, in some cases, the filter matches multiple bundles.
What I would like to achieve is:
If the filter returns more than one result, the scenario should automatically throw an error and stop execution.
Is there a recommended way to validate that only one bundle passes after a filter and trigger an error if the count is greater than one?
Thanks in advance for your help!
