If Local Variable

Performs a test on a local variable. The test performed depends on the specified operator.

Remark

For more information on using variables with policies, see Understanding Policy Componentsin Understanding Policies for Identity Manager 3.6.

Fields

Name

Specify the name of the local variable to test for the selected condition.

Operator

Select the condition test type.

Operator

Returns True when...

Available

There is a local variable with the specified name that has been defined by an action of a earlier rule within the policy.

Not Available

Available would return False.

Equal

There is a local variable with the specified name, and its value equals the specified value when compared by using the specified comparison mode.

Not Equal

Equal would return False.

Value

Contains the value defined for the select operator. The value is used by the condition. The operators that contain the value field are:

  • Equal

  • Not Equal

Comparison 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.

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

  • Not Equal