My Oracle Support Banner

"Switch On Attribute" With "Start With" Is Not Working Correctly With A JSON Payload (Doc ID 2021222.1)

Last updated on AUGUST 01, 2023

Applies to:

Oracle API Gateway - Version 11.1.2.1.0 and later
Information in this document applies to any platform.

Symptoms

On :  11.1.2.1.0 version, Oracle API Gateway

Switch On Attribute is not working as expected.
The “Comparison Type”  “Start with” does not work as expected and documented.
Using “Comparison Type”  "contains this"  works, but with “Start with” it does not work.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a policy using the "Switch On Attribute" filter
2. Use the "Comparison Type" to "Start with"
3. The condition does not work as documented

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.