Click or drag to resize

MainSetAssigneeToActiveUsersManager Method

Note: This API is now obsolete.

The method updates the assignee on the action object (which must be an activity)

The method can be used in a process event action (activated by either timer or transition).

The method updates the assignee on the action object (which must be an activity) to

the active user’s manager. The active user’s manager must be referenced in a reference property

on the user object in a property where the system name = managerPropertySysName.

The method is suitable for purchasing processes, etc., where the user’s manager must approve a purchase.

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#
[ObsoleteAttribute("Method relies on a too limited manager concept")]
public bool SetAssigneeToActiveUsersManager(
	CodeMethodInvokeContext context,
	string managerPropertySysName
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
managerPropertySysName
Type: SystemString
Reference property system name that refers to a manager user on the active user.

Return Value

Type: Boolean
See Also