# Class ProcessAssignmentEntity OptimaJet.Workflow.Core.Entities.ProcessAssignmentEntity Represents an assignment record persisted for the obsolete Assignment Plugin. **Obsolete.** Do not use Assignment Plugin or related API. It will be removed soon. Namespace: [OptimaJet.Workflow.Core.Entities](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/) ```csharp [Obsolete("Do not use Assignment Plugin or related API. It will be removed soon.")] public class ProcessAssignmentEntity : IEntity ``` ## Type Hierarchy - ProcessAssignmentEntity Current type - Implemented interfaces - [IEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/IEntity/) ## Attributes - `System.ObsoleteAttribute`: Do not use Assignment Plugin or related API. It will be removed soon. ## Properties `public Guid Id { get; set; }` Gets or sets the unique identifier of the assignment. `public string AssignmentCode { get; set; }` Gets or sets the code used by Assignment Plugin actions and conditions to select the assignment. `public string Name { get; set; }` Gets or sets the display name of the assignment. `public Guid ProcessId { get; set; }` Gets or sets the identifier of the process instance associated with the assignment. `public string Description { get; set; }` Gets or sets the description of the assignment. `public DateTime DateCreation { get; set; }` Gets or sets the date and time when the assignment was created. `public DateTime? DateStart { get; set; }` Gets or sets the date and time when the assignment was started, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) if no start time is recorded. `public DateTime? DateFinish { get; set; }` Gets or sets the date and time when the assignment was completed, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) if no completion time is recorded. `public DateTime? DeadlineToStart { get; set; }` Gets or sets the date and time used to evaluate the assignment's start deadline, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) if none is configured. `public DateTime? DeadlineToComplete { get; set; }` Gets or sets the date and time used to evaluate the assignment's completion deadline, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) if none is configured. `public string Executor { get; set; }` Gets or sets the workflow participant identity responsible for executing the assignment. `public string Observers { get; set; }` Gets or sets the JSON-serialized list of workflow participant identities that observe the assignment. `public string Tags { get; set; }` Gets or sets the JSON-serialized list of tags associated with the assignment. `public string StatusState { get; set; }` Gets or sets the current Assignment Plugin status of the assignment. `public bool IsActive { get; set; }` Gets or sets a value indicating whether the assignment is active for checks that exclude inactive assignments. `public bool IsDeleted { get; set; }` Gets or sets a value indicating whether the assignment is marked as deleted without being removed from storage. ## Methods `public object GetValue(string key)` Gets the value of the property identified by `key`. ### Parameters | Name | Type | Description | | --- | --- | --- | | `key` | `String` | The name of a property declared by [ProcessAssignmentEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessAssignmentEntity/). | ### Returns | Type | Description | | --- | --- | | `Object` | The current value of the specified property. | ### Exceptions | Type | Description | | --- | --- | | `ColumnNotExistsException` | `key` does not identify a supported property. | `public void SetValue(string key, object value)` Sets the value of the property identified by `key`. ### Parameters | Name | Type | Description | | --- | --- | --- | | `key` | `String` | The name of a property declared by [ProcessAssignmentEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessAssignmentEntity/). | | `value` | `Object` | The value to assign; the expected runtime type is determined by the selected property. | ### Exceptions | Type | Description | | --- | --- | | `ColumnNotExistsException` | `key` does not identify a supported property. | [Previous InboxEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/InboxEntity/) [Next ProcessInstanceEntity](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Entities/ProcessInstanceEntity/)