Assembly: OptimaJet.Workflow.Core

Class SubprocessStartInTimerQueueStep

OptimaJet.Workflow.Core.Builder.SubprocessStartInTimerQueueStep

Prepares fork-start subprocess transitions that run from the timer queue by routing them through a hidden intermediate activity and timer transition.

public class SubprocessStartInTimerQueueStep : BuildStep

Type Hierarchy

  • BuildStep
    • SubprocessStartInTimerQueueStep Current type

Properties

public override string Name { get; } #
Gets the build step name used in diagnostics and error reporting.

Methods

public override Task<BuildStepResult> ExecuteAsync(ProcessDefinition processDefinition) #
Executes the build step.

Parameters

Name
Type
Description
processDefinition
ProcessDefinition
The ProcessDefinition being processed.

Returns

Type
Description
Task<BuildStepResult>
A task whose BuildStepResult indicates whether execution succeeded and contains either the processed definition or validation/execution errors.

Fields

public const string TimerName = "__subprocessStartTimer" #
Gets the reserved name used for the generated timer definition.
public const string TimerValue = "0ms" #
Gets the reserved timer interval value for the generated timer definition.

Remarks

The step reserves the SubprocessStartInTimerQueueStep.TimerName timer and rewrites each fork transition with SubprocessStartupType.TimerQueue and TransitionForkType.ForkStart into a hidden intermediate activity and a timer transition linked to the original target.