Converting WLDF Watch Rules from WLS 10.3.x to Policy Expressions in WLS 12.2.1.x

(Doc ID 2305243.1)

Last updated on SEPTEMBER 13, 2017

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


When migrating to Oracle WebLogic Server 12.2.1, the WebLogic Diagnostics Framework (WLDF) "Watch Rule" from previous releases has changed to "Policy Expression". It is not an easy conversion from watch rules to policy expressions unless very familiar with Java Expression Language (Java EL).

For example, the below watch rule was defined to monitor all datasources under a domain and trigger a notification if its state is anything but Running:

(${ServerRuntime//[]//State} IN ('Suspended', 'Overloaded', 'Unknown'))

What will be the equivalent of that in 12.2.1?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms