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. |