Syntax:
GetVarValueByVarName (strVarName)
Description:
Returns the contents of the Automated Workflow variable whose name is strVarName.
strVarName is a string of the Automated Workflow variable name, and not
the variable name itself. (Note: this function
returns valid results only from within a running Workflow)
Parameter Description
strVarName - string of the name of the variable whose contents are to be returned
Example:
Sub
Main
' Display the contents of an Automated Workflow variable named "test"
MsgBox GetVarValueByVarName("test")
End Sub
Sub
Main
' Display the names of all the Automated Workflow variables and their
' contents
Dim iTotalVariables As Integer
iTotalVariables = GetVarCount()
For iIndex=0 to iTotalVariables
MsgBox GetVar(iIndex)
MsgBox GetVarValueByVarName(GetVar(iIndex))
Next iIndex
End Sub
See Also: