CodeMethodAction Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class CodeMethodAction : Action
The CodeMethodAction type exposes the following members.
Name | Description | |
---|---|---|
![]() | CodeMethodAction(Int32) | |
![]() | CodeMethodAction(CodeMethod) |
Name | Description | |
---|---|---|
![]() | ActionType |
Type of action (email, code method etc)
(Inherited from Action.) |
![]() | ActivityTemplateId |
The template ID for the activity used as action object.
Only applicable when ProcessObjectType=Activity.
(Inherited from Action.) |
![]() | ChangedBy |
ID of User who made the last change of the object
(Inherited from Action.) |
![]() | ChangeTime |
Last change time for object
(Inherited from Action.) |
![]() | CodeMethod |
CodeMethod for CodeMethod Action.
|
![]() | CreatedBy |
ID of User who created the object
(Inherited from Action.) |
![]() | CreateTime |
CreateTime for the object
(Inherited from Action.) |
![]() | DataObjectTypeId |
The DataObjectType for which the action is defined.
The attribute is defined for both DataObject events and for Process events
(Inherited from Action.) |
![]() | DataVersion |
Entity data version used for validation of cache
(Inherited from Action.) |
![]() | 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.
(Inherited from Action.) |
![]() | 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.
(Inherited from Action.) |
![]() | Id |
ID of Action
(Inherited from Action.) |
![]() | Owner |
Then EventDefinition to which the action belongs.
(Inherited from Action.) |
![]() | 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)
(Inherited from Action.) |
![]() | 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.
(Inherited from Action.) |
![]() | 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.
(Inherited from Action.) |
![]() | UId |
UID of the Action
(Inherited from Action.) |
![]() | VOrder |
The order of the action
(Inherited from Action.) |
Name | Description | |
---|---|---|
![]() | Clone | (Overrides ActionClone.) |
![]() | ResetAll |
Resets the id etc. of the object.
The method is used when making a copy of an existing object.
(Overrides ActionResetAll.) |
![]() | setId |
Sets Id for CodeMethodAction
(Overrides ActionsetId(Int32).) |
Name | Description | |
---|---|---|
![]() | m_activityTemplateId |
Template for the Activity (only applicable when the ProcessObjectType is Activity)
(Inherited from Action.) |
![]() | m_dataObjectTypeId |
DataObject type for which the event is defined
(Inherited from Action.) |
![]() | m_executorId |
Optionally defines the user which must execute the action.
(Inherited from Action.) |
![]() | m_id |
ID of the Action
(Inherited from Action.) |
![]() | m_owner |
The related EventDefinition object
(Inherited from Action.) |
![]() | m_processObjectType |
Action object when the event fires on a process.
(Inherited from Action.) |
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 | (Inherited from Action.) |
![]() ![]() | IObjectWithGuid.GetGuid | (Inherited from Action.) |
![]() ![]() | IObjectWithId.GetId | (Inherited from Action.) |
![]() ![]() | IActionId |
States the Id of the action.
(Inherited from Action.) |
![]() ![]() | IActionUId |
States the UId of the action.
(Inherited from Action.) |