Click or drag to resize

AssigneeSetAssigneeToRefObjRefUser Method

The method sets the assignee on the action object to a user or usergroup that is selected in a reference property on an object that is referred by the target object.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool SetAssigneeToRefObjRefUser(
	CodeMethodInvokeContext context,
	string refPropertySysName,
	string refUserPropSysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
Invoke context object
refPropertySysName
Type: SystemString
System Name of the reference property on the target object that refers another object, that will refer the assignee
refUserPropSysName
Type: SystemString
System Name of the user or usergroup reference property on the referred object

Return Value

Type: Boolean
true if OK
See Also