Show / Hide Table of Contents

Class FlowEngine

Represents a class that initiates the start of the business process and initializes all the necessary components for its execution.

Inheritance
System.Object
FlowEngine
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Process
Assembly: Terrasoft.Core.dll
Syntax
[Obsolete("7.17.3 | Class is not in use and will be removed in upcoming releases. Use IProcessExecutor (UserConnection.ProcessEngine.ProcessExecutor) to start the processes.")]
public class FlowEngine

Constructors

FlowEngine(UserConnection)

Initialize instance of FlowEngine with user connection settings.

Declaration
public FlowEngine(UserConnection userConnection)
Parameters
Type Name Description
UserConnection userConnection

User Connection.

Properties

CreatedInAppVersion

The application version, from which the process can be interpreted.

Declaration
public static string CreatedInAppVersion { get; }
Property Value
Type Description
System.String

TrunkAppVersion

Trunk application version.

Declaration
public static string TrunkAppVersion { get; }
Property Value
Type Description
System.String

Methods

RunProcess(BaseProcessSchema)

Runs the process.

Declaration
public virtual ProcessDescriptor RunProcess(BaseProcessSchema schema)
Parameters
Type Name Description
BaseProcessSchema schema

Schema of the process.

Returns
Type Description
ProcessDescriptor

Process descriptor.

RunProcess(BaseProcessSchema, Dictionary<String, Object>)

Runs the process.

Declaration
public ProcessDescriptor RunProcess(BaseProcessSchema schema, Dictionary<string, object> nameValueMap)
Parameters
Type Name Description
BaseProcessSchema schema

Schema of the process.

System.Collections.Generic.Dictionary<System.String, System.Object> nameValueMap

Parameter values.

Returns
Type Description
ProcessDescriptor

Process descriptor.

RunProcess(BaseProcessSchema, Dictionary<String, String>)

Runs the process.

Declaration
public virtual ProcessDescriptor RunProcess(BaseProcessSchema schema, Dictionary<string, string> nameValueMap)
Parameters
Type Name Description
BaseProcessSchema schema

Schema of the process.

System.Collections.Generic.Dictionary<System.String, System.String> nameValueMap

Parameter values.

Returns
Type Description
ProcessDescriptor

Process descriptor.

RunProcess(ProcessComponentSet, Guid, Guid)

Runs the process.

Declaration
public virtual ProcessDescriptor RunProcess(ProcessComponentSet processComponentSet, Guid startSignalUId, Guid entityId)
Parameters
Type Name Description
ProcessComponentSet processComponentSet

Instance of the ProcessComponentSet class.

System.Guid startSignalUId

Identifier of the start signal.

System.Guid entityId

Identifier of the entity.

Returns
Type Description
ProcessDescriptor

Process descriptor.

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX