Export Module Into Zip
  • 17 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Export Module Into Zip

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > Advanced > Import - Export

The Export Module Into Zip step converts an export module into a zip file.


Properties

Inputs

PropertyDescriptionData Type
Module NameThe name of the module to exportString

Outputs

PropertyDescriptionData Type
OutputOutputs a zip file FileData

Example Inputs and Outputs

Module NameOutput
ProjectAProjectA-17012023-103931.zip
EmptyEXCEPTION MESSAGE
NullEXCEPTION MESSAGE


Common Errors

Value cannot be null

If the Module Name is null, the step will cause an error.

Ensure that the Module Name is entered or mapped correctly to correct this.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Export Module Into Zip 1[ExportModuleIntoZip] in flow [Flow 1]: Exception invoking method ExportModuleIntoZip on class ImportExportSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method ExportModuleIntoZip 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
 at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportModuleIntoZip(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 ---



Was this article helpful?