If Association

Performs a test on the association value of the current operation or the current object. The type of test performed depends on the operator specified by the operation attribute.

Fields

Operator

Select the condition test type.

Operator

Returns True when...

Associated

There is an established association for the current object.

Not Association

There is not an established association for the current object.

Available

There is a non-empty association value specified by the current operation.

Not available

The association is not available for the current object.

Equal

The association value specified by the current operation is exactly equal to the content of the if association.

Not Equal

The association value specified by the current operation is not equal to the content of the if association.

Greater Than

The association value specified by the current operation is greater than the content of the condition when compared using the specified comparison mode.

Not Greater Than

Greater Than or Equal would return False.

Less Than

The association value specified by the current operation is less than the content of the condition when compared using the specified comparison mode.

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 Variable Expansion. The operators that contain the value field are:

  • Equal

  • Not Equal

  • Not Greater Than

  • Less Than

  • Not Less Than

Comparison Mode

Some condition tests have a mode parameter that indicates how the 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.

See Sun’s Web site.

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

Source DN

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

Destination DN

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

Numeric

Compares numerically.

Binary

Compares the binary information.

The operators that have a comparison mode parameter are:

  • Equal

  • Not Equal

  • Not Greater Than

  • Less Than

  • Not Less Than

Example

This example tests to see if the association is available. When this condition is met, the actions that are defined are executed.

Association