Class ProcessInstanceTree
OptimaJet.Workflow.SQLite.ProcessInstanceTree
Database object for querying the process instance tree hierarchy.
Namespace: OptimaJet.Workflow.SQLite
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
schemaNameStringThe database schema name.
commandTimeoutInt32The 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
connectionSqliteConnectionThe SQLite connection.
rootProcessIdGuidThe root process identifier.
Returns
Type
Description
Task<IProcessInstanceTreeItem>A list of process instance tree items.