# Interface IProcessInstanceTreeItem OptimaJet.Workflow.Core.Persistence.IProcessInstanceTreeItem Represents the persisted data for one process instance in a [ProcessInstancesTree](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Subprocess/ProcessInstancesTree/) hierarchy. Namespace: [OptimaJet.Workflow.Core.Persistence](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/) ```csharp public interface IProcessInstanceTreeItem ``` ## Type Hierarchy - IProcessInstanceTreeItem Current type - Implementing types - [ProcessInstanceTreeItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstanceTreeItem/) - [ProcessInstanceTreeItem](https://api.workflowengine.io/mongodb/OptimaJet.Workflow.MongoDB/ProcessInstanceTreeItem/) ## Properties `Guid Id { get; set; }` Gets or sets the process ID exposed by [ProcessInstance.ProcessId](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessInstance/). `Guid? ParentProcessId { get; set; }` Gets or sets the immediate parent process ID exposed by [ProcessInstance.ParentProcessId](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessInstance/), or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) for the root process. `Guid RootProcessId { get; set; }` Gets or sets the process ID of the top-level process instance, exposed by [ProcessInstance.RootProcessId](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessInstance/). `string SubprocessName { get; set; }` Gets or sets the name assigned to the subprocess, exposed by [ProcessInstance.SubprocessName](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessInstance/). `string StartingTransition { get; set; }` Gets or sets the name of the [TransitionForkType.ForkStart](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/TransitionForkType/) transition that created the subprocess, as recorded by [ProcessDefinition.StartingTransition](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ProcessDefinition/). [Previous IPersistenceProvider](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IPersistenceProvider/) [Next IRuntimePersistence](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Persistence/IRuntimePersistence/)