--- title: "Attach Extension To Entity" slug: "attach-extension-to-entity" tags: ["entity", "extension", "database"] updated: 2025-05-08T19:07:38Z published: 2025-05-08T19:07:38Z canonical: "documentation.decisions.com/attach-extension-to-entity" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Attach Extension To Entity | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | Database | The **Attach Extension to Entity** step combines a premade Entity, such as a Folder, with the specified Extension such as a Flow Execution Extension. This is less intensive and thus faster than Create steps when batch inserting multiple Entities. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Entity | The desired Entity | --- | | Extension | The desired Extension to combine with the specified Entity | --- | | Save | Saves the Entity with the extension | Boolean | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673282038903.png) --- ## Common Errors ### Object reference not set to an instance of an object If the Entity or Extension field is not mapped or configured, an error will occur. To correct this, ensure that the input fields are configured correctly. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Attach Extension To Entity 1[AttachExtensionToEntity] in flow [Flow 1]: Exception invoking method AttachExtensionToEntity on class EntitySteps ---> DecisionsFramework.LoggedException: Exception invoking method AttachExtensionToEntity on class EntitySteps ---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.Design.Flow.CoreSteps.DataBase.EntitySteps.AttachExtensionToEntity(AbstractEntity entity, AbstractEntityExtensionData extension, Boolean save) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` ## Related - [Rename Entity](/rename-entity.md) - [Unhide Entity](/unhide-entity.md) - [Move Entity](/move-entity.md) - [Set Entity State](/set-entity-state.md) - [Hide Entity](/hide-entity.md) - [Save Entities](/save-entities.md)