
36
Policies in Designer 3.5
no
vd
ocx
(e
n)
13
Ma
y 20
09
3.6.1 Dynamic Variable Expansion
The variable selector allows for the use of dynamic variable expansion in conditions, actions, and
tokens. It is used when the writer of the DirXML script doesn’t know what value to enter during the
design phase, and wants the value to be populated dynamically when the code is run (for local
variables) or when the driver starts (for global variables). Dynamic variables are not used when the
policy needs to refer directly to the variable itself. Instead, they are used when the policy needs to
refer to the value of the variable.
Many actions support dynamic variable expansion in their attributes or content. Where supported, an
embedded reference of the form
$variable-name$
is replaced with the value of the local variable
with the given name. An embedded reference of the form
~variable-name~
is replaced with the
value of the global variable name.
$variable-name$
and
~variable-name~
must be legal variable
names. For information on what constitutes a legal XML name, see
W3C Extensible Markup
Language (XML) (http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-suggested-names)
.
If the given variable does not exist, the reference is replaced with the empty string. Where it is
desirable to use a single $ and not have it interpreted as a variable reference, use an additional $ as
an escape character (for example, You owe me $$100.00).
NOTE:
If the global variable doesn’t exist on the driver or driver set, the driver does not start.
3.6.2 Accessing the Variable Selector From the Conditions Tab
1
In the Policy Builder, double-click the
Conditions
tab.
For instructions on accessing the Policy Builder, see
Section 3.1, “Accessing the Policy
Builder,” on page 21
.
2
Select one of the following conditions:
If Attribute (page 192)
If Destination Attribute (page 198)
If Entitlement (page 202)
If Global Configuration Value (page 205)
If Local Variable (page 207)
If Named Password (page 211)
If Operation Attribute (page 215)
If Source Attribute (page 224)
3
Click the
Launch variable browser
icon
next to the field where you want to insert a
dynamic variable.
4
Select the variable, then click
OK
.
Or, for conditions that don’t bring up the
Launch variable browser
icon:
1
Select one of the following operators:
Equal
Greater than
Less than
Summary of Contents for Designer for Identity Manager 3.5
Page 4: ...4 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 20: ...20 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 44: ...44 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 76: ...76 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 92: ...92 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 108: ...108 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 144: ...144 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 174: ...174 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 188: ...188 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 223: ...Conditions 223 novdocx en 13 May 2009...
Page 231: ...Conditions 231 novdocx en 13 May 2009...
Page 232: ...232 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 237: ...Actions 237 novdocx en 13 May 2009...
Page 245: ...Actions 245 novdocx en 13 May 2009...
Page 247: ...Actions 247 novdocx en 13 May 2009...
Page 263: ...Actions 263 novdocx en 13 May 2009...
Page 271: ...Actions 271 novdocx en 13 May 2009...
Page 275: ...Actions 275 novdocx en 13 May 2009 Example...
Page 324: ...324 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 333: ...Noun Tokens 333 novdocx en 13 May 2009...
Page 357: ...Verb Tokens 357 novdocx en 13 May 2009...
Page 363: ...Verb Tokens 363 novdocx en 13 May 2009 Example...
Page 390: ...390 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 418: ...418 Policies in Designer 3 5 novdocx en 13 May 2009...
Page 474: ...474 Policies in Designer 3 5 novdocx en 13 May 2009...