Class ExecutionRequestParameters
Represent execution request which contains conditions and actions
Inheritance
↳ object
↳ ExecutionRequestParameters
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Execution
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic sealed class ExecutionRequestParameters
Properties
Methods
List of actions to execute in the case of conditions are satisfied
Declarationpublic ActionDefinitionReference[] Methods { get; set; }
Type | Description |
---|---|
OptimaJet.Workflow.Core.Model.ActionDefinitionReference[] |
Conditions
List of conditions to check
Declarationpublic ConditionDefinition[] Conditions { get; set; }
Type | Description |
---|---|
OptimaJet.Workflow.Core.Model.ConditionDefinition[] |
TransitionName
Executed transition name
Declarationpublic string TransitionName { get; set; }
Type | Description |
---|---|
string |
ActivityName
Executed activity name TransitionDefinition.To
Declarationpublic string ActivityName { get; set; }
Type | Description |
---|---|
string |
ConditionsConcatenationType
Type of concatenation for conditions
Declarationpublic ConcatenationType ConditionsConcatenationType { get; set; }
Type | Description |
---|---|
ConcatenationType |
Activity
Activity to execute
Declarationpublic ActivityDefinition Activity { get; }
Type | Description |
---|---|
ActivityDefinition |
IsAlways
Returns true if condition type of the transition is equal "Always" ConditionType.Always
Declarationpublic bool IsAlways { get; }
Type | Description |
---|---|
bool |
IsOtherwise
Returns true if condition type of the transition is equal "Otherwise" ConditionType.Otherwise
Declarationpublic bool IsOtherwise { get; }
Type | Description |
---|---|
bool |
IsConditionOrExpression
Returns true if condition type of the transition is equal "Action" ConditionType.Action or expression ConditionType.Expression
Declarationpublic bool IsConditionOrExpression { get; }
Type | Description |
---|---|
bool |
HasExpression
Returns true if any condition is Expression condition
Declarationpublic bool HasExpression { get; }
Type | Description |
---|---|
bool |
Methods
Create(TransitionDefinition)
Create ExecutionRequestParameters object
Declarationpublic static ExecutionRequestParameters Create(TransitionDefinition transition)
Type | Name | Description |
---|---|---|
TransitionDefinition | transition | Executed transition |
Type | Description |
---|---|
ExecutionRequestParameters | ExecutionRequestParameters object |
Create(TransitionDefinition, bool)
Create ExecutionRequestParameters object
Declarationpublic static ExecutionRequestParameters Create(TransitionDefinition transition, bool isPreExecution)
Type | Name | Description |
---|---|---|
TransitionDefinition | transition | Executed transition |
bool | isPreExecution | If true pre-execution implementation will be requested to execute <xref href="OptimaJet.Workflow.Core.Model.ActivityDefinition.PreExecutionImplementation" data-throw-if-not-resolved="false"></xref>, if false implementation will be requested to execute <xref href="OptimaJet.Workflow.Core.Model.ActivityDefinition.Implementation" data-throw-if-not-resolved="false"></xref> |
Type | Description |
---|---|
ExecutionRequestParameters | ExecutionRequestParameters object |
Create(ActivityDefinition, List<ConditionDefinition>)
Create ExecutionRequestParameters object
Declarationpublic static ExecutionRequestParameters Create(ActivityDefinition activityToExecute, List<ConditionDefinition> conditions)
Type | Name | Description |
---|---|---|
ActivityDefinition | activityToExecute | Activity to execute |
List<ConditionDefinition> | conditions | List of conditions to check |
Type | Description |
---|---|
ExecutionRequestParameters | ExecutionRequestParameters object |
Create(ActivityDefinition, List<ConditionDefinition>, bool)
Create ExecutionRequestParameters object
Declarationpublic static ExecutionRequestParameters Create(ActivityDefinition activityToExecute, List<ConditionDefinition> conditions, bool isPreExecution)
Type | Name | Description |
---|---|---|
ActivityDefinition | activityToExecute | Activity to execute |
List<ConditionDefinition> | conditions | List of conditions to check |
bool | isPreExecution | If true pre-execution implementation will be requested to execute <xref href="OptimaJet.Workflow.Core.Model.ActivityDefinition.PreExecutionImplementation" data-throw-if-not-resolved="false"></xref>, if false implementation will be requested to execute <xref href="OptimaJet.Workflow.Core.Model.ActivityDefinition.Implementation" data-throw-if-not-resolved="false"></xref> |
Type | Description |
---|---|
ExecutionRequestParameters | ExecutionRequestParameters object |