Class ProcessDisplayedStateGenerator
OptimaJet.Workflow.Core.Designer.ProcessDisplayedStateGenerator
Generates ProcessTreeDisplayedState objects for displaying processes and their subprocesses in the designer.
Namespace: OptimaJet.Workflow.Core.Designer
public static class ProcessDisplayedStateGeneratorMethods
public static Task<ProcessTreeDisplayedState> GenerateAsync(WorkflowRuntime runtime, Guid processId) #Asynchronously generates the displayed state for the process identified by
processId and its descendant subprocesses.Parameters
Name
Type
Description
Returns
Type
Description
Task<ProcessTreeDisplayedState>A Task<TResult> whose result is a ProcessTreeDisplayedState rooted at the process identified by
processId.public static Task<ProcessTreeDisplayedState> GenerateAsync(WorkflowRuntime runtime, ProcessInstance processInstance) #Asynchronously generates the displayed state for
processInstance and its descendant subprocesses.Parameters
Name
Type
Description
Returns
Type
Description
Task<ProcessTreeDisplayedState>Remarks
The root state uses the values currently present in ProcessInstance.ProcessParameters. Descendant process instances and their parameters are loaded through
runtime.Remarks
Application code should not use this type because it is intended for Workflow Engine infrastructure and may change in future versions.