Click or drag to resize
WorkflowExtensionsEnableLongRunningProcess Method (IWorkflowExecutableModel, LongRunningProcessConfig)
Configures set of behavior for a workflow engine that allows executing long-running business transactions.

Namespace: FlexRule.Flows.Workflows
Assembly: FlexRule.Engine (in FlexRule.Engine.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static void EnableLongRunningProcess(
	this IWorkflowExecutableModel workflow,
	LongRunningProcessConfig config
)

Parameters

workflow
Type: FlexRuleIWorkflowExecutableModel
Workflow instance Workflow
config
Type: FlexRule.Flows.WorkflowsLongRunningProcessConfig
Configuration for the long-running process

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWorkflowExecutableModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This configuration allows workflow states to be stored on a durable storage e.g. Ms SQL Server and retrieved when required.
See Also