OpenWGA 7.2 - TMLScript reference

TMLContext "this"
Method :

getVar(varname)

On object TMLContext "this"
Usage Retrieves a normal WebTML 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