OpenWGA 7.10 - TMLScript reference

WGA » WGA.TMLScript
Method :

runExpression([context,]expression)

On object WGA.TMLScript
Usage Evaluates TMLScript expression
Parameters

expression (String)

The expression to evaluate

context (TMLContext) - optional

The context the expression will be evaluates in

Return value The result value of the expression
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events