Script segment example
This example works with the Script segment of the Create Rule. It adds the value of 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.
Function execute() As Long
Context.ReturnValue = ObjProperty("DESCRIPTION","USER",_TASKUSER)
End Function
Other context variables are _MODELOBJECTSYMBOL and _TASKGROUP.
To create the scripts for copy methods, see the Infor PLM for Process Scripting Administration Guide.