OpenWGA 7.6 - TMLScript reference

CollectionResult
Method :

isEmpty()

On object CollectionResult
Usage Tests if the result has at last one elements, the current user can read.
Description This method uses the internal iterator object to test hasNext(). It therefore takes reader access into account and is the prefered method to test, if the result has some elements, the current user can read.
Return value boolean true|false
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events