Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class SubprocessUtils

Algorithms for subprocesses branches

Inheritance

↳ object

    ↳ SubprocessUtils

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Subprocess

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public static class SubprocessUtils

Methods

MarkupSubprocesses(ProcessDefinition)

Markups scheme, sets nesting level for each Activity

Declaration
public static ProcessDefinition MarkupSubprocesses(this ProcessDefinition processDefinition)
Parameters
TypeNameDescription
ProcessDefinitionprocessDefinition
Returns
TypeDescription
ProcessDefinitionProcess definition with marked nesting levels an subprocesses ids

GetSubprocessDefinition(ProcessDefinition, TransitionDefinition)

Declaration
public static ProcessDefinition GetSubprocessDefinition(this ProcessDefinition processDefinition, TransitionDefinition startingTransition)
Parameters
TypeNameDescription
ProcessDefinitionprocessDefinition
TransitionDefinitionstartingTransition
Returns
TypeDescription
ProcessDefinition

GetMinDistance(ProcessDefinition, string, string, List<string>, List<TransitionClassifier>)

Declaration
public static int GetMinDistance(this ProcessDefinition processDefinition, string fromActivityName, string toActivityName, List<string> activitiesToAnalyze, List<TransitionClassifier> classifiers)
Parameters
TypeNameDescription
ProcessDefinitionprocessDefinition
stringfromActivityName
stringtoActivityName
List<string>activitiesToAnalyze
List<TransitionClassifier>classifiers
Returns
TypeDescription
int