--- title: "Export Module Into Zip File Return Path" slug: "export-module-into-zip-file-return-path" tags: ["zip file", "module", "file path"] updated: 2023-01-17T21:43:25Z published: 2023-01-17T21:43:25Z canonical: "documentation.decisions.com/export-module-into-zip-file-return-path" --- > ## 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. # Export Module Into Zip File Return Path | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | System > Advanced > Import - Export | The **Export Module Into Zip File Return Path** step will export the module into a zip file and return the full file path of the zip file. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Module Name | The desired name of the Module to export | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The file path of the zip file | String | --- ## Example Inputs and Outputs | Module Name | Output | | --- | --- | | ProjectA | C:\Program Files\Decisions\Decisions Server\Instances\Control\Export\Downloads\ProjectA-17012023-111347.zip | | Null | EXCEPTION MESSAGE | | Empty | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673970831743.png) --- ## Common Errors ### Value cannot be null If the Module Name field is null, the step will cause an error. To correct this, enter or map a value to the Module Name field. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Export Module Into Zip File Return Path 1[ExportModuleIntoZipFileReturnPath] in flow [Flow 1]: Exception invoking method ExportModuleIntoZipFileReturnPath on class ImportExportSteps ---> DecisionsFramework.LoggedException: Exception invoking method ExportModuleIntoZipFileReturnPath on class ImportExportSteps ---> System.ArgumentNullException: Value cannot be null. (Parameter 'input' at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg at DecisionsServiceHost.Modules.ModulesHelper.RemoveReservedFileChars(String filename at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModule(String moduleName, Boolean onlyChanged at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZipFileReturnPath(String moduleName) --- 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 --- ``` --- ### Incorrect Parameter Count, Data Not Mapped Correctly If the Module Name value is empty, the step will cause an error. To correct this, enter or map a value to the Module Name field. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Export Module Into Zip File Return Path 1[ExportModuleIntoZipFileReturnPath] in flow [Flow 1]: Incorrect Parmater Count, Data Not Mapped Correctly ---> DecisionsFramework.LoggedException: Incorrect Parmater Count, Data Not Mapped Correctly ---> System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) --- 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 - [Export Module For Entity](/export-module-for-entity.md) - [Export Module Into Zip](/export-module-into-zip.md) - [Export Module](/export-module.md) - [Publish Module To Server](/publish-module-to-server.md) - [Get Export Module For Entity](/get-export-module-for-entity.md)