AssigneeLibrary Methods |
The AssigneeLibrary type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CopyAssigneeDataToTargetDataObject |
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.
|
![]() ![]() | CopyAssigneeUserToRefProperty |
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.
|
![]() ![]() | CopyRefPropertyUserOnActiveUserToAssignee |
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.
|
![]() ![]() | CopyRefPropertyUserOnTargetRefPropertyToAssignee |
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.
|
![]() ![]() | CopyRefPropertyUserOnUserToAssignee |
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.
|
![]() ![]() | CopyRefPropertyUserToAssignee |
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.
|
![]() ![]() | ReassignTaggedActivities |
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.
|
![]() ![]() | ReassignTaggedActivitiesByAttributeTags | |
![]() ![]() | SetAssigneeToConfigItemResponsible |
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.
|
![]() ![]() | SetAssigneeToRefObjRefUser |
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.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |