Table of Contents

Class WorkflowEngine

Namespace: Casewhere.Runtime
Assembly: Casewhere.Runtime.dll

public class WorkflowEngine : IWorkflowEngine

Inheritance

objectWorkflowEngine

Implements

IWorkflowEngine

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<WorkflowEngine>(WorkflowEngine)

Constructors

WorkflowEngine(IActivityStateEngine, IEnumerable<IActivityExecutionEngine>, IActivityResultProvider, IPublishedWorkflowDefinitionRepository, IWorkflowBuilder, IWorkflowSimulator, IWorkflowManager, IWorkflowExecutionLockManager, ITransactionRuntime, INonEventDomainRepositories)

public WorkflowEngine(IActivityStateEngine activityStateEngine, IEnumerable<IActivityExecutionEngine> activityExecutionEngines, IActivityResultProvider activityResultProvider, IPublishedWorkflowDefinitionRepository publishedWorkflowDefinitionRepository, IWorkflowBuilder workflowBuilder, IWorkflowSimulator workflowSimulator, IWorkflowManager workflowManager, IWorkflowExecutionLockManager lockManager, ITransactionRuntime transactionRuntime, INonEventDomainRepositories nonEventDomainRepositories)

Parameters

activityStateEngine IActivityStateEngine

activityExecutionEngines IEnumerable<IActivityExecutionEngine>

activityResultProvider IActivityResultProvider

publishedWorkflowDefinitionRepository IPublishedWorkflowDefinitionRepository

workflowBuilder IWorkflowBuilder

workflowSimulator IWorkflowSimulator

workflowManager IWorkflowManager

lockManager IWorkflowExecutionLockManager

transactionRuntime ITransactionRuntime

nonEventDomainRepositories INonEventDomainRepositories

Methods

AsynValidateFormComponent(FormComponentValidationContext)

Validate runtime component posted data, custom validation rule.. Avoid error that required dependences in workflow engine scope.

public ComponentValidationResult AsynValidateFormComponent(FormComponentValidationContext componentValidationContext)

Parameters

componentValidationContext FormComponentValidationContext

Returns

ComponentValidationResult

EvaluateWorkflowStatus(WorkflowContext)

public void EvaluateWorkflowStatus(WorkflowContext context)

Parameters

context WorkflowContext

Execute(WorkflowContext)

public void Execute(WorkflowContext context)

Parameters

context WorkflowContext