Workflow Engine .NET

Assembly: OptimaJet.Workflow.SQLite

Class ProcessInstanceTree

OptimaJet.Workflow.SQLite.ProcessInstanceTree

Database object for querying the process instance tree hierarchy.

public class ProcessInstanceTree : DbObject<ProcessInstanceTreeItem>

Inheritance

  • Object
  • DbObject<ProcessInstanceTreeItem>

Constructors

public ProcessInstanceTree(string schemaName, int commandTimeout) #
Initializes a new instance of ProcessInstanceTree.

Parameters

Name
Type
Description
schemaName
String
The database schema name.
commandTimeout
Int32
The command timeout in seconds.

Methods

public Task<List<IProcessInstanceTreeItem>> GetProcessTreeItemsByRootProcessId(SqliteConnection connection, Guid rootProcessId) #
Retrieves all process instance tree items for the specified root process.

Parameters

Name
Type
Description
connection
SqliteConnection
The SQLite connection.
rootProcessId
Guid
The root process identifier.

Returns

Type
Description
Task<IProcessInstanceTreeItem>
A list of process instance tree items.