The "Look Up Item by Value" assertion fails if a multivalued variable contains the same value multiple times.
INFO 5336 com.l7tech.external.assertions.xmlsec.server.ServerIndexLookupByItemAssertion: 6: More than one value was matched. Exception caught!
This is a defect and will be fixed in future releases.
If Look Up Item by Value Assertion failed, you may try to find the target value in the multivalued variable with using “Run Assertions for Each Item Assertion”.
The attached “workaround.xml” implemented the scenario as a sample policy.
This sample policy has a variable ‘fave’ (value ‘apple’) and ‘fruitsalad’ (multiple values). The Look Up Item by Value Assertion use these variables for the properties as following.
To test the workaround, try to add the same value ‘apple’ as the fave to the variable ‘fruits’ to duplicate.