Func33_SaveVariable

<< Click to Display Table of Contents >>

Navigation:  Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions >

Func33_SaveVariable

Description

This function saves a variable (ParmVal1) and assigns it either a fixed value (iParmVal1), the resolved value of an expression containing tags and/or AA-specific tags, or the value from another rule definition (iParmRD1).  Order of precedence is as follows:

1.  If a rule definition is supplied (iParmRD1 > 0) then the most recent result from that rule definition is saved.

2.  If a value is provided for ParmVal2 (ParmVal2 not blank), then it will be resolved for any tags, including AA-specific tags, and the resulting value saved.

3. Otherwise, the value provided in iParmVal1 will be saved.

 

Inputs

 

Parameter

Explanation

Variable name

Name of the variable.

User the most recent result from this rule definition

A rule definition number that has a value to save.  This value will be evaluated first, and used if configured.

... Or ... use this value (accepts tags and AA-specific tags)

Optional value to save (accepts tags and AA-specific tags)

... Or ... use this constant value

Fixed value to save.

 

Outputs

 

Result

Result Explanation

Confidence Adjustment

Return Value

True

Variable saved.

 

Value that was saved

False

n/a

 

 

Else

If a runtime error is encountered.

Y

0