Table of Contents

Class TraceSearchParameters

Namespace
DCR.Workflow
Assembly
DCR.Workflow.dll
public class TraceSearchParameters
Inheritance
TraceSearchParameters
Inherited Members
Extension Methods

Fields

Data

Data values to use in search, indexed by activity.

public Dictionary<string, IEnumerable<value>> Data

Field Value

Dictionary<string, IEnumerable<value>>

Remarks

If an activity has data values specified here, it will tried only with those values. If it does not, it will be tried with the null value.

Forbidden

public IEnumerable<string> Forbidden

Field Value

IEnumerable<string>

MaxDepth

The maximum length of the trace we are looking for. The search is curtailed when reaching this depth.

public int MaxDepth

Field Value

int

MaxSteps

The maximum amount of steps the search can consume. When this number of steps have been taken, the search will terminate.

public int MaxSteps

Field Value

int

MinimizeTrace

If set, attempt to find a shortest trace. If unset, the first trace found is returned, which will not necessarily be the shortest one.

public bool MinimizeTrace

Field Value

bool

Remarks

If set, then when (if) a trace found, the search will continue as long as more steps are available, attempting to find shorter traces.

Required

A collection of activity ids that must be exectued in the trace.

public IEnumerable<string> Required

Field Value

IEnumerable<string>

Start

The activity that must start the trace, or null if any activity can start the trace.

public string? Start

Field Value

string

Stop

The activity which must be executed as the last step of the trace, or null if it is sufficient that the trace ends in an accepting state.

public string? Stop

Field Value

string