OpenWGA 7.10 - TMLScript reference

TMLContext "this"
Method :

getSessionVar(varname)

On object TMLContext "this"
Usage Retrieves a WebTML session variable
Description Unlike this.item() this method does not return items or WebTML variables of different types.
Parameters varname (String):
Name of the WebTML variable
Return value Value of the variable
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events