OpenWGA 7.6 - TMLScript reference

Method :


On object WGA
Usage Removes multiple equal entries from a list
Description This method is most usual when the list only contains trivial objects like strings, numbers and dates that can be equality tested. On all other object types it uses the Java equality test, which involves the individual equals() method of the types concerned.

Because of legacy reasons this method modifies the parameter list directly, although it also returns the same list as return value.

This function is case sensitive on strings,  so "Entry" is not regarded equal to "entry".

For backward compatibility there still is a global function "deleteDoublets()" available whose use is discouraged since OpenWGA 5.3.


list (List):

List to remove duplicates from

Return value The parameter list with duplicates removed (Lists)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events