A dynamic variable is evaluated on each occurrence of the variable. Thus, each time the variable is encountered the value is recalculated from code. (In contrast, a value variable is evaluated once at the beginning of the service call and that value is used throughout the service call. See "Value Variables".) Dynamic variables generally return a value such as a string or an integer.
The following is a list of Idoc Script dynamic variables: