Click or drag to resize

ActivityAssignment Methods

The ActivityAssignment type exposes the following members.

Methods
  NameDescription
Public methodAssignActivityToActiveUserManager
The method assigns the action object (which must be an activity) to the manager of the active user.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity
Public methodAssignActivityToCurrentAssigneeManager
The method assigns the action object (which must be an activity) to the managers of the current assignees.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity
The method does nothing if the activity is currently assigned to a user group or to a user who doesn't have an identity. The manager is found by looking at the current assignee's (identity's) org. unit. The method is used for escalation.
Public methodAssignActivityToIdentity
Assignes the activity specified as the action object to the user coresponding to the identity referred in the target of the process trough the specified property.
Codemethod usageDescription
Designed to be used in a process only (Yes/No)Yes
Action Object (data object type)Activity
Public methodAssignActivityToManager1
Method assigns an activity to the manager(s) of a referred identity (or other data object). The method trows an error is no managers(s) can be found. For Identity and User Calculation where the Identity is a manager of itself. The manager is found at the same level or above.
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 typeDescription
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.

Public methodAssignActivityToManagerCrawl
Method assigns an activity to the manager(s) of a referred identity (or other data object). The method trows an error is no managers(s) can be found. For Identity and User Calculation where the Identity is a manager of itself. The manager is found depending on the setting of the parameter crawlWhenUserExcluded. (See the parameter for details.)
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 typeDescription
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.

Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also