ActivityAssignmentAssignActivityToManager1 Method |
Codemethod usage | |
---|---|
Designed to be used in a process only (Yes/No) | Yes |
Action Object (data object type) | Activity |
The target object of the process must have the identityPropertySysName property.
The property must have a reference to either a:
Object type | Description |
---|---|
Identity | Activity is assigned to the manager of the identity. |
User | Activity is assigned to the manager of the identity which belongs to the user. An error is thrown if the user doesn't have an identity. |
Org. unit | Activity is assigned to the manager of the org. unit. |
Namespace: Omada.OE.Solution.OIM.Assembly
public bool AssignActivityToManager1( CodeMethodInvokeContext context, string identityPropertySysName )