OpenWGA 7.2 - TMLScript reference

TMLContext "this"
Property :

lastError

On object TMLContext "this"
Usage Returns the error message of the last failed context expression that was done from this context object
Description The property is only available on the TMLContext object on which the this.context() method was called. It is null if there has been no failed context change.
Default value null
Writable False
Return value Error message (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events