Click or drag to resize

Transition Class

A transition models an arrow in the process template diagram from an activity or control element to another activity or control element.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelTransition

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class Transition : IObjectWithId, ICloneable, 
	IObjectWithGuid

The Transition type exposes the following members.

Constructors
  NameDescription
Public methodTransition
Use this constructor to create a (completely) new transition which doesn't exist in the database.
Public methodTransition(Int32, AppString)
Top
Properties
  NameDescription
Public propertyAllowMessage
Not used!
Public propertyAuthLevel
Specifies the authentication level required for a user to activate the transition (for a workitem).
Public propertyBypassValidations
Defines if the form-validations must bed skipped when the transition is activated.
Public propertyEventDefinitions
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.
Public propertyFilter
Contains the Filter object with the provided FilterId. Is not always set, dependant on load options.
Public propertyFilterId
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.
Public propertyFrom
Can be either: an activity or a control element
Public propertyFromActivity
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.
Public propertyFromControlElement
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.
Public propertyId
Public propertyName
Transition name.
Public propertyNumber
Transition number. Is only defined for process templates.
Public propertyOnClickHandlerId
Contains a BrowserEventHandlerId. Can be 0.
Public propertyPredecessor
Defines if the From element is predecessor for the To elementet. Its is always a finish-to-start (MSP terminologi) predecessor.
Public propertyProcessId
Contains the ID of the process to which the transition belongs.
Public propertyStatusId
Defines a set property value belonging the the process status property (defined on the processens target type). Can be 0.
Public propertyTemplateId
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.)
Public propertyTo
Can be either: an activity or a control element
Public propertyToActivity
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.
Public propertyToControlElement
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.
Public propertyUId
Public propertyVOrder
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
Public propertyVotesRequired
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.
Top
Methods
  NameDescription
Public methodClone
Public methodGetFromObjectIds
Public methodGoesFromControlElement
Returns true if the transition goes to a controlelement of the given type.
Public methodGoesToControlElement
Returns true if the transition leaves a controlelement of the given type.
Public methodInvolvesActivity
Returns true if the transition leaves or goes to an activity
Public methodIsTemplate
Returns whether the transition belongs to a process template.
Public methodPassesFilter
Public methodResetAll
Resets all ID's in the object.
Public methodToString
(Overrides ObjectToString.)
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
Explicit Interface Implementations
See Also