This script function is used for retrieving the value of the specified metadata item of the current incoming document. The metadata item must be defined in the Document Type set on the current Message. This function is typically used in the Process to get the value of a metadata item. By using this script function instead of referring directly to a variable, it is possible to create scripts that are less dependent on a specific job and Message. Instead they can be reused in any Process that uses the same metadata group. By using a global metadata group it is possible to make very generic scripts.