Assembly: OptimaJet.Workflow.Core

Class ProcessTreeDisplayedState

OptimaJet.Workflow.Core.Designer.ProcessTreeDisplayedState

Represents the displayed state of a process and its descendant subprocesses in the designer.

public class ProcessTreeDisplayedState : ProcessDisplayedState

Type Hierarchy

Properties

public ImmutableDictionary<string, ProcessDisplayedState> SubprocessInfo { get; } #
Gets the ProcessDisplayedState for each descendant subprocess, keyed by ProcessInstance.SubprocessName.
public ImmutableList<string> SubprocessCurrentActivities { get; } #
Gets the ProcessInstance.CurrentActivityName values for the descendant subprocesses represented by ProcessTreeDisplayedState.SubprocessInfo.

Methods

public void AddSubprocess(ProcessInstance subprocessInstance, ProcessDisplayedState subprocessState) #

Parameters

Name
Type
Description
subprocessInstance
ProcessInstance
subprocessState
ProcessDisplayedState
The ProcessDisplayedState to associate with the ProcessInstance.SubprocessName value from subprocessInstance.
public string GetSerializedValue() #
Serializes this displayed process tree to JSON by using ParametersSerializer.Serialize(object).

Returns

Type
Description
String
The serialized JSON string.

Remarks

This type is intended for designer infrastructure and may change in future versions.