Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class SchemeDefinition<T>

OptimaJet.Workflow.Core.Model.SchemeDefinition<T>

Represent a not parsed process scheme

public class SchemeDefinition<T> where T : class

Inheritance

  • System.Object

Constructors

public SchemeDefinition(Guid id, Guid? rootSchemeId, string schemeCode, string rootSchemeCode, T scheme, bool isObsolete, List<string> allowedActivities, string startingTransition, string tenantId = null) #
Create SchemeDefinition object

Parameters

Name
Type
Description
id
Guid
Id of the the scheme
rootSchemeId
Nullable<Guid>
schemeCode
String
Name of the the scheme
rootSchemeCode
String
Name of the root scheme if subprocess
scheme
{T}
Not parsed process scheme
isObsolete
Boolean
Sign that the scheme is obsolete
allowedActivities
List<String>
startingTransition
String
tenantId
String
public SchemeDefinition(ProcessDefinition processDefinition, IWorkflowParser<T> parser, string tenantId = null) #
Create SchemeDefinition object

Parameters

Name
Type
Description
processDefinition
ProcessDefinition
ProcessDefinition object
parser
IWorkflowParser<T>
WorkflowParser to serialize the scheme
tenantId
String

Properties

Name
Type
Scheme #
{T}
Not parsed process scheme
SchemeCode #
String
Name of the the scheme
RootSchemeCode #
String
Name of the root scheme if subprocess
Id #
Guid
Id of the the scheme
RootSchemeId #
Nullable<Guid>
Id of the the root scheme if subprocess
TenantId #
String
AllowedActivities #
List<String>
StartingTransition #
String
IsObsolete #
Boolean
Sign that the scheme is obsolete