If Operation Property

Performs a test on an operation property on the current operation. An operation property is a named value that is stored as an attribute on an <operation-data> element within an operation. It is typically used to supply additional context that might be needed by the policy that handles the results of an operation. The test performed depends on the selected operator.

Fields

Name

Specify the name of the operation property to test for the selected condition. Supports variable expansion. For more information, see Section 3.6, Variable Selector.

Operator

Select the condition test type.

Operator

Returns True When...

Available

There is an operation property with the specified name on the current operation.

Equal

There is an operation property with the specified name on the current operation, and its value equals the provided content when compared by using the specified comparison mode.

Greater Than

There is an operation property with the specified name on the current operation, and its value is greater than the content of the condition when compared by using the specified comparison mode.

Less Than

There is an operation property with the specified name on the current operation, and its value is less than the content of the condition when compared by using the specified comparison mode.

Not Available

Available would return False.

Not Equal

Equal would return False.

Not Greater Than

Greater Than or Equal would return False.

Not Less Than

Less Than or Equal would return False.

Value

Contains the value defined for the selected operator. The value is used by the condition. Each value supports variable expansion. For more information, see Section 3.6, Variable Selector. The operators that contain the value field are:

  • Equal

  • Greater Than

  • Less Than

  • Not Equal

  • Not Greater Than

  • Not Less Than

Mode

The condition has a comparison mode parameter that indicates how a comparison is done.

Mode

Description

Case Sensitive

Character-by-character case sensitive comparison.

Case Insensitive

Character-by-character case insensitive comparison.

Regular Expression

The regular expression matches the entire string. It defaults to case insensitive, but can be changed by an escape in the expression.

For more information, see Sun’s Web site.

The pattern options CASE_INSENSITIVE, DOTALL, and UNICODE_CASE are used but can be reversed by using the appropriate embedded escapes.

Source DN

Compares by using semantics appropriate to the DN format for the source data store.

Destination DN

Compares by using semantics appropriate to the DN format for the destination data store.

Numeric

Compares numerically.

Binary

Compares the binary information.

The operators that contain the comparison mode parameter are:

  • Equal

  • Greater Than

  • Less Than

  • Not Equal

  • Not Greater Than

  • Not Less Than

Example

Operation property