Click or drag to resize

AssigneeLibrary Class

Summary description for ReassignActivity.
Inheritance Hierarchy
SystemObject
  Omada.OE.UtilityCodeAssembly.LibraryAssigneeLibrary

Namespace:  Omada.OE.UtilityCodeAssembly.Library
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public class AssigneeLibrary

The AssigneeLibrary type exposes the following members.

Constructors
  NameDescription
Public methodAssigneeLibrary
Top
Methods
  NameDescription
Public methodStatic memberCopyAssigneeDataToTargetDataObject
Code method is to be used on a process object or an activity object, and will copy the property values from the asignee user to the target object of the process. If the action object is a process, the assignee will taken from the first activity.
Public methodStatic memberCopyAssigneeUserToRefProperty
Method is to be used on a process event. An activity from the process must be used as the action object. The method copies the assignee of the activity (which must be a user) to a reference property on the target object. If the assignee on the activity is not a user an exception will be thrown.
Public methodStatic memberCopyRefPropertyUserOnActiveUserToAssignee
Method is to be used on a process event. An activity from the process must be used as the action object. 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). If the reference property does not contain a user an exception will be thrown.
Public methodStatic memberCopyRefPropertyUserOnTargetRefPropertyToAssignee
Method is to be used on a process event. An activity from the process must be used as the action object. The method copies the PersonalGroupId for a user on a reference property on a user, which is specified on the reference property (userRefPropertyId) to the assignee field on the activity (action object). If the reference property does not contain a user an exception will be thrown.
Public methodStatic memberCopyRefPropertyUserOnUserToAssignee
Method is to be used on a process event. An activity from the process must be used as the action object. The method copies the PersonalGroupId for a user on a reference property on a given user (userId) to the assignee field on the activity (action object). If the reference property does not contain a user an exception will be thrown.
Public methodStatic memberCopyRefPropertyUserToAssignee
Method is to be used on a process event. An activity from the process must be used as the action object. The method copies the value of a reference property on the target object into the assignee on the activity (action object). The reference property value must refer a user or a usergroup.
Public methodStatic memberReassignTaggedActivities
Metoden reassigner et antal activities. Metoden afvikles på en transition event. Action objektet skal være proces objektet! Metoden er oprindeligt udviklet til Miljøministeriet. Metoden reassigner et antal aktiviteter i processen, der har den samme "tag" værdi. Brugergruppen, der sættes som ny assignee, findes på følgende vis: Der ledes efter en brugergruppe hvis navn er [tagValue] - [orgvalue] Eksempel: 2 aktiviteter i en proces har tag-værdien "Frontlinien". Dataobjektet i processen har en property kaldet "Institution". I denne er valgt værdien "MIM - Miljøministeriet". I systemet findes en brugergruppe med navnet "Frontlinien - MIM". Metoden finder frem til denne gruppe og sætter den som assignee for de 2 aktiviteter.
Public methodStatic memberReassignTaggedActivitiesByAttributeTags
Public methodStatic memberSetAssigneeToConfigItemResponsible
Metoden kan anvendes i et ITIL scenarie. Action objektet skal være en activity. Metoden sætter en ny assignee for action aktiviteten. Dette gøres ved at finde et (til target objektet) tilknyttet config. item. Dette config. item skal have angivet en user eller usergroup i en "responsible" ref. property. Metoden er udviklet til en PFA service desk demo.
Public methodStatic memberSetAssigneeToRefObjRefUser
The method can be used in a process-event-action (either time or transition-activated). An activity must be used as the action object. The method sets the assignee on the action object (that has to be an activity) to an user or usergroup that is selected in a reference property on an object that is referred by the target object.
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