Action Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class Action : ICloneable, IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, IAction
The Action type exposes the following members.
| Name | Description | |
|---|---|---|
| ActionType |
Type of action (email, code method etc)
| |
| ActivityTemplateId |
The template ID for the activity used as action object.
Only applicable when ProcessObjectType=Activity.
| |
| ChangedBy |
ID of User who made the last change of the object
| |
| ChangeTime |
Last change time for object
| |
| CreatedBy |
ID of User who created the object
| |
| CreateTime |
CreateTime for the object
| |
| DataObjectTypeId |
The DataObjectType for which the action is defined.
The attribute is defined for both DataObject events and for Process events
| |
| DataVersion |
Entity data version used for validation of cache
| |
| ExecutorId |
Specifies id of the user who must execute the event action.
If 0 the identity user is used.
Info is (currently) only relevant for codemethod actions.
| |
| HaltOnError |
The flag is solemnly used by code method actions.
If set to true the program flow is halted if an exception is thrown by a code method.
| |
| Id |
ID of Action
| |
| Owner |
Then EventDefinition to which the action belongs.
| |
| ProcessObjectType |
If the event is a Process event, the ProcessObjectType attribute defines which object
in the process is used as action object for the event (Target, Activity, Process)
| |
| RunAsInternalOperation |
If true the action will always be executed as an internal operation (related to evaluation of auth. source policies)
regardless of where the change (that triggered the event) was made from.
| |
| TreatAllErrorsAsFriendly |
The flag is solemnly used by code method actions, and only if HaltOnError is set to true.
If set to true all exceptions thrown by a code method will be reported to the user in a "friendly" way.
If set to false only exceptions derriving from FriendlyException will be displayed in a "friendly" way.
| |
| UId |
UID of the Action
| |
| VOrder |
The order of the action
|
| Name | Description | |
|---|---|---|
| Clone | ||
| ResetAll |
Resets the id etc. of the object.
The method is used when making a copy of an existing object.
| |
| setId |
Internal - set the ID of the action
|
| Name | Description | |
|---|---|---|
| m_activityTemplateId |
Template for the Activity (only applicable when the ProcessObjectType is Activity)
| |
| m_dataObjectTypeId |
DataObject type for which the event is defined
| |
| m_executorId |
Optionally defines the user which must execute the action.
| |
| m_id |
ID of the Action
| |
| m_owner |
The related EventDefinition object
| |
| m_processObjectType |
Action object when the event fires on a process.
|
| 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 | |
|---|---|---|
| IObjectWithDataVersion.GetDataVersion | ||
| IObjectWithGuid.GetGuid | ||
| IObjectWithId.GetId | ||
| IActionId |
States the Id of the action.
| |
| IActionUId |
States the UId of the action.
|