Click or drag to resize

Assignee Methods

The Assignee type exposes the following members.

Methods
  NameDescription
Public methodCopyAsigneeDataToTargetDataObject
Code method will copy the property values from the assignee user to the target object of the process.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process or Activity
Public methodCopyAssigneeUserToRefProperty
The method copies the assignee of the activity (which must be a user) to a reference property on the target object.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

If the assignee on the activity is not a user an exception will be thrown.

Public methodCopyRefPropertyUserOnActiveUserToAssignee
The method copies the PersonalGroupId for a user on a reference property on the active user to the assignee field on the activity (action object)
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

If the reference property does not contain a user an exception will be thrown

Public methodCopyRefPropertyUserOnTargetRefPropertyToAssignee
The method copies the PersonalGroupId from a user referenced by the target object to the assignee field on the activity (action object)
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

If the reference property does not contain a user an exception will be thrown

Public methodCopyRefPropertyUserOnUserToAssignee
The method copies the PersonalGroupId for a user on a reference property on a given user to the assignee field on the activity (action object)
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

If the reference property does not contain a user an exception will be thrown

Public methodCopyRefPropertyUserToAssignee
The method copies the value of a reference property on the target object into the assignee on the activity. The reference property value must refer to a user or a usergroup.
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity
Public methodReassignActivityToUserOrUserGroup
This code method is used to reassigne an activity to a fixed user or user group.
Codemethod usage
Designed to be used in a process only (Yes/No) No
Action Object (data object type) Activity
Public methodReassignTaggedActivities
Reassigns activities that has the specified tag value in a property to an existing usergroup named '[tagValue] - [orgValue]', e.g. 'Frontline - MIM'. The orgValue is the value of the organisation property, truncated at the specified length
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process

Was originally created for Miljøministeriet

Public methodReassignTaggedActivitiesByAttributeTags
Activities that have the assignee tag property set are reassigned to the usergroup with tag value equal to the assignee tag value. Usergroups are stored in a reference property on department, which again is referenced by a property on target object
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Process
Public methodSetAssigneeToConfigItemResponsible Obsolete.
Copy user or usergroup from reference property on a configuration item to assignee on the action object. The configuration item is referenced by the target object
Codemethod usage
Designed to be used in a process only (Yes/No) Yes
Action Object (data object type) Activity

Can be used in an ITIL scenario. Was created for a service desk demo

Public methodSetAssigneeToRefObjRefUser
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
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