OpenWGA 7.0 - TMLScript reference

RESTEntry
Method :

addItem(name, value)

On object RESTEntry
Usage Adds an item to the entry
Description The usage of this method is not restricted to the actual items of the document. You could add any custom item field that you want.
Parameters

name (String):

Name of the field

value (String, Number, Date, Boolean or a List containing these values):

The value of the field