Adding a data value as a code segment
This example works with the Script segment of the Create Rule. The example shows you how to add the description of the _TASKUSER as a code segment.
You must use context.returnvalue for the variable of any VB .NET function in the Script segment of a create rule.
Dim context.returnvalue As Object
context.returnvalue = ObjProperty("DESCRIPTION","USER",_TASKUSER)
Context variables that can be used to obtain values are: _MODELOBJECTSYMBOL , _TASKUSER , and _TASKGROUP .
See the Infor PLM for Process Application Configuration Guide for more information about the Script segment, .