Click or drag to resize

AssigneeLibrarySetAssigneeToRefObjRefUser Method

The method can be used in a process-event-action (either time or transition-activated). An activity must be used as the action object. The method sets the assignee on the action object (that has to be an activity) to an user or usergroup that is selected in a reference property on an object that is referred by the target object.

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public static bool SetAssigneeToRefObjRefUser(
	CodeMethodInvokeContext context,
	int refPropertyId,
	int refUserPropId
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
refPropertyId
Type: SystemInt32
The id of the reference property on the target object that refers an other object, that will refer the assignee.
refUserPropId
Type: SystemInt32
The id of the user or usergroup reference property on the referred object.

Return Value

Type: Boolean
See Also