Online Manual: "User Management Resource Adminstrator"
Go to: User Management Resource Administrator homepage
Script Action: Set Variable
Function
Define and set a script variable. This action does not do any network
calls. It is used for configuration within the User Management script.
For more information on variables, see Principle
of operation and Project
operations - Variables.
Deployment
Many implementations of User Management scripts
are configured so that the input for the properties
of the script actions they contain are defined as variables. Variables
are correspond with a column of the input data or they get a fixed constant
value in the beginning of the script using this action. For instance,
when creating new users in a domain, the Domain property of the Create
User (AD) script action, and many other actions, is usually specified
as %Domain% in the script action. If al user that need to be created should
be created in the same domain it is usually easier to specify the name
of the domain directly in the script, then requiring that the domain name
is available in every row of the Project Table.
To specify the contents of a variable directly in the script, this script
action should be inserted in the script. It must be inserted prior to
any script action that uses the specific variable.
Properties
|
Property Name |
Description |
Typical setting |
Remarks |
|
Variable Name |
The name of the variable to set |
|
The Name of the variable must be enclosed
in "%" characters. e.g. %Domain% |
|
Value |
The value of the variable. This value will
be used in all following script actions. |
|
The value to which the variable is set. Note that the Value might contain the name of another variable
or a combination of text and other variables.
The variable can then be used in any following
script actions in the script. See Project
operations - Variables for more information. |
|
Value Type |
The type of the variable. That is text, boolean,numeric
or date-time or text list. |
|
|
|
Resolve immediately |
The
method used to resolve variable names in the specified value. |
No |
No: Other variable names specified as part of the variable value, are
not resolved until the variable is used as an argumenin in another script
action.
Yes: Other variable names specified as part
of the variable value are resolved immediately. |
More information:
Principle of operation
Project operations - Input data
Project operations - Manage script actions
Project operations - Variables
Data specification - Text list
Help on help
|