Transition Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class Transition : IObjectWithId, ICloneable, IObjectWithGuid
The Transition type exposes the following members.
Name | Description | |
---|---|---|
![]() | Transition |
Use this constructor to create a (completely) new transition which doesn't exist in the database.
|
![]() | Transition(Int32, AppString) |
Name | Description | |
---|---|---|
![]() | AllowMessage |
Not used!
|
![]() | AuthLevel |
Specifies the authentication level required for a user to activate the transition (for a workitem).
|
![]() | BypassValidations |
Defines if the form-validations must bed skipped when the transition is activated.
|
![]() | EventDefinitions |
Contains the event definitions which are executed when the transition is activated.
The event definition belong to the process template
(i.e. no copy of events are taken when a process is instantiated from a template)
and it is not possible to edit the event definitions for process instanses.
EventDefinitions is sorted by eventdefinitionid.
|
![]() | Filter |
Contains the Filter object with the provided FilterId.
Is not always set, dependant on load options.
|
![]() | FilterId |
FilterId is used when the transition leaves a et control element of type=decision.
If the target object can pass this filter, the criteria for the transition is fulfilled.
|
![]() | From |
Can be either: an activity or a control element
|
![]() | FromActivity |
If the transition goes from an activity then FromActivity holds this activity.
If the transition doesn't go from an activity then FromActivity is null.
|
![]() | FromControlElement |
If the transition goes from a control element then FromControlElement holds this control element.
If the transition doesn't go from a control element then FromControlElement is null.
|
![]() | Id | |
![]() | Name |
Transition name.
|
![]() | Number |
Transition number. Is only defined for process templates.
|
![]() | OnClickHandlerId |
Contains a BrowserEventHandlerId. Can be 0.
|
![]() | Predecessor |
Defines if the From element is predecessor for the To elementet.
Its is always a finish-to-start (MSP terminologi) predecessor.
|
![]() | ProcessId |
Contains the ID of the process to which the transition belongs.
|
![]() | StatusId |
Defines a set property value belonging the the process status property (defined on the processens target type).
Can be 0.
|
![]() | TemplateId |
TemplateId contains the id of the template transition from which the transition
is created
TemplateId is 0 if the transition is a template itself.
TemplateId can be 0 for an instanse (if manually created.)
|
![]() | To |
Can be either: an activity or a control element
|
![]() | ToActivity |
If the transition goes to an activity then ToActivity holds this activity.
If the transition doesn't go to an activity then ToActivity is null.
|
![]() | ToControlElement |
If the transition goes to a control element then ToControlElement holds this control element.
If the transition doesn't go to a control element then ToControlElement is null.
|
![]() | UId | |
![]() | VOrder |
All transitions which leave the same activity/control element are in the same number range.
The lowest vorder is 1.
VOrder is used for:
- Decision elements
- Ordering of buttons in workitemdlg
|
![]() | VotesRequired |
Defines the number of votes required for the process to flow on the the to-element.
Only used of From is a voting activity.
The unit (individuals or percantage) for VotesRequired depends on the Voting unit on the from activity.
|
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | GetFromObjectIds | |
![]() | GoesFromControlElement |
Returns true if the transition goes to a controlelement of the given type.
|
![]() | GoesToControlElement |
Returns true if the transition leaves a controlelement of the given type.
|
![]() | InvolvesActivity |
Returns true if the transition leaves or goes to an activity
|
![]() | IsTemplate |
Returns whether the transition belongs to a process template.
|
![]() | PassesFilter | |
![]() | ResetAll |
Resets all ID's in the object.
|
![]() | ToString | (Overrides ObjectToString.) |
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.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithGuid.GetGuid | |
![]() ![]() | IObjectWithId.GetId |