Workflow Engine .NET  2
Static Public Member Functions | Properties | List of all members
OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters Class Reference

Represent execution request which contains conditions and actions More...

Static Public Member Functions

static ExecutionRequestParameters Create (ProcessInstance processInstance, TransitionDefinition transition)
 Create ExecutionRequestParameters object More...
 
static ExecutionRequestParameters Create (ProcessInstance processInstance, TransitionDefinition transition, bool isPreExecution)
 Create ExecutionRequestParameters object More...
 
static ExecutionRequestParameters Create (ProcessInstance processInstance, ActivityDefinition activityToExecute, List< ConditionDefinition > conditions)
 Create ExecutionRequestParameters object More...
 
static ExecutionRequestParameters Create (ProcessInstance processInstance, ActivityDefinition activityToExecute, List< ConditionDefinition > conditions, bool isPreExecution)
 Create ExecutionRequestParameters object More...
 

Properties

ProcessInstance ProcessInstance [get]
 Returns Process instance which requested execution More...
 
Guid ProcessId [get]
 Returns id of the process instance More...
 
ActionDefinitionReference [] Methods [get, set]
 List of actions to execute in the case of conditions are satisfied More...
 
ConditionDefinition [] Conditions [get, set]
 List of conditions to check More...
 
string TransitionName [get, set]
 Executed transition name More...
 
string ActivityName [get, set]
 Executed activity name TransitionDefinition.To More...
 
ConcatenationType ConditionsConcatenationType [get, set]
 Type of concatenation for conditions More...
 
ActivityDefinition Activity [get]
 Activity to execute More...
 
bool IsAlways [get]
 Returns true if condition type of the transition is equal "Always" ConditionType.Always More...
 
bool IsOtherwise [get]
 Returns true if condition type of the transition is equal "Otherwise" ConditionType.Otherwise More...
 
bool IsCondition [get]
 Returns true if condition type of the transition is equal "Action" ConditionType.Action More...
 

Detailed Description

Represent execution request which contains conditions and actions

Member Function Documentation

◆ Create() [1/4]

static ExecutionRequestParameters OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Create ( ProcessInstance  processInstance,
TransitionDefinition  transition 
)
static

Create ExecutionRequestParameters object

Parameters
processInstanceProcess instance which requested execution
transitionExecuted transition
Returns
ExecutionRequestParameters object

◆ Create() [2/4]

static ExecutionRequestParameters OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Create ( ProcessInstance  processInstance,
TransitionDefinition  transition,
bool  isPreExecution 
)
static

Create ExecutionRequestParameters object

Parameters
processInstanceProcess instance which requested execution
transitionExecuted transition
isPreExecutionIf true pre-execution implementation will be requested to execute ActivityDefinition.PreExecutionImplementation, if false implementation will be requested to execute ActivityDefinition.Implementation
Returns
ExecutionRequestParameters object

◆ Create() [3/4]

static ExecutionRequestParameters OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Create ( ProcessInstance  processInstance,
ActivityDefinition  activityToExecute,
List< ConditionDefinition conditions 
)
static

Create ExecutionRequestParameters object

Parameters
processInstanceProcess instance which requested execution
activityToExecuteActivity to execute
conditionsList of conditions to check
Returns
ExecutionRequestParameters object

◆ Create() [4/4]

static ExecutionRequestParameters OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Create ( ProcessInstance  processInstance,
ActivityDefinition  activityToExecute,
List< ConditionDefinition conditions,
bool  isPreExecution 
)
static

Create ExecutionRequestParameters object

Parameters
processInstanceProcess instance which requested execution
activityToExecuteActivity to execute
conditionsList of conditions to check
isPreExecutionIf true pre-execution implementation will be requested to execute ActivityDefinition.PreExecutionImplementation, if false implementation will be requested to execute ActivityDefinition.Implementation
Returns
ExecutionRequestParameters object

Property Documentation

◆ Activity

ActivityDefinition OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Activity
get

Activity to execute

◆ ActivityName

string OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.ActivityName
getset

Executed activity name TransitionDefinition.To

◆ Conditions

ConditionDefinition [] OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Conditions
getset

List of conditions to check

◆ ConditionsConcatenationType

ConcatenationType OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.ConditionsConcatenationType
getset

Type of concatenation for conditions

◆ IsAlways

bool OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.IsAlways
get

Returns true if condition type of the transition is equal "Always" ConditionType.Always

◆ IsCondition

bool OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.IsCondition
get

Returns true if condition type of the transition is equal "Action" ConditionType.Action

◆ IsOtherwise

bool OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.IsOtherwise
get

Returns true if condition type of the transition is equal "Otherwise" ConditionType.Otherwise

◆ Methods

ActionDefinitionReference [] OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.Methods
getset

List of actions to execute in the case of conditions are satisfied

◆ ProcessId

Guid OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.ProcessId
get

Returns id of the process instance

◆ ProcessInstance

ProcessInstance OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.ProcessInstance
get

Returns Process instance which requested execution

◆ TransitionName

string OptimaJet.Workflow.Core.Bus.ExecutionRequestParameters.TransitionName
getset

Executed transition name