![]() |
Workflow Engine .NET
2
|
Represent an activity in a process scheme More...
Public Member Functions | |
void | AddAction (ActionDefinitionReference action) |
Add ActionDefinitionReference to implementation list More... | |
void | AddPreExecutionAction (ActionDefinitionReference action) |
Add ActionDefinitionReference to pre-execution implementation list More... | |
new ActivityDefinition | Clone () |
![]() | |
BaseDefinition | Clone () |
Static Public Member Functions | |
static ActivityDefinition | Create (string name, string stateName, string isInitial, string isFinal, string isForSetState, string isAutoSchemeUpdate) |
Create ActivityDefinition object More... | |
static ActivityDefinition | Create (string name, string stateName, bool isInitial, bool isFinal, bool isForSetState, bool isAutoSchemeUpdate) |
Create ActivityDefinition object More... | |
Properties | |
string | State [get, set] |
Name of the state More... | |
bool | IsInitial [get, set] |
If true specifies that the activity is initial. There can be only one initial activity in scheme. Initial activity is the entry point of the process. More... | |
bool | IsFinal [get, set] |
If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final. More... | |
bool | IsForSetState [get, set] |
If true specifies that the activity is entry point for a state and possible to set the state with the State name via WorkflowRuntime.SetState method More... | |
bool | IsAutoSchemeUpdate [get, set] |
If true specifies that if process scheme obsolete than Workflow Runtime will try upgrade it automatically if this activity is current More... | |
bool | HaveImplementation [get] |
Specifies that activity have an implementation More... | |
bool | HavePreExecutionImplementation [get] |
Specifies that activity have a pre-execution implementation More... | |
List< ActionDefinitionReference > | Implementation [get, set] |
List of ActionDefinitionReference which are executed at standard workflow execution More... | |
List< ActionDefinitionReference > | PreExecutionImplementation [get, set] |
List of ActionDefinitionReference which are executed at pre-execution More... | |
bool | IsState [get] |
Specifies that state is assigned More... | |
int | NestingLevel [get, set] |
Nesting level of subprocess, 0 - root process, 1-... -subprocesses, null - not assigned More... | |
![]() | |
virtual string | Name [get, set] |
Name of the object in scheme More... | |
DesignerSettings | DesignerSettings [get, set] |
Designer settings which used by Workflow Designer More... | |
Represent an activity in a process scheme
void OptimaJet.Workflow.Core.Model.ActivityDefinition.AddAction | ( | ActionDefinitionReference | action | ) |
Add ActionDefinitionReference to implementation list
action | Action reference |
void OptimaJet.Workflow.Core.Model.ActivityDefinition.AddPreExecutionAction | ( | ActionDefinitionReference | action | ) |
Add ActionDefinitionReference to pre-execution implementation list
action | Action reference |
|
static |
Create ActivityDefinition object
name | Name of the activity |
stateName | Name of the state |
isInitial | If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final. |
isFinal | If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final. |
isForSetState | If true specifies that the activity is entry point for a state and possible to set the state with the State name via WorkflowRuntime.SetState method |
isAutoSchemeUpdate | If true specifies that if process scheme obsolete than Workflow Runtime will try upgrade it automatically if this activity is current |
|
static |
Create ActivityDefinition object
name | Name of the activity |
stateName | Name of the state |
isInitial | If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final. |
isFinal | If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final. |
isForSetState | If true specifies that the activity is entry point for a state and possible to set the state with the State name via WorkflowRuntime.SetState method |
isAutoSchemeUpdate | If true specifies that if process scheme obsolete than Workflow Runtime will try upgrade it automatically if this activity is current |
|
get |
Specifies that activity have an implementation
|
get |
Specifies that activity have a pre-execution implementation
|
getset |
List of ActionDefinitionReference which are executed at standard workflow execution
|
getset |
|
getset |
If true specifies that the activity is final. The process is marked as finalized after execution of the activity marked as final.
|
getset |
If true specifies that the activity is entry point for a state and possible to set the state with the State name via WorkflowRuntime.SetState method
|
getset |
If true specifies that the activity is initial. There can be only one initial activity in scheme. Initial activity is the entry point of the process.
|
get |
Specifies that state is assigned
|
getset |
Nesting level of subprocess, 0 - root process, 1-... -subprocesses, null - not assigned
|
getset |
List of ActionDefinitionReference which are executed at pre-execution
|
getset |
Name of the state