Publish Module To Server
- 21 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Publish Module To Server
- Updated on 21 Dec 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.0.0 |
Location | System > Advanced > Import-Export |
The Publish Module To Server step allows a user to publish a module to the Decisions instance.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Confirm Configuration | Allows the user to determine if the configurations are valid | Boolean |
Instance Name | Name of the Instance | String |
Module Name | Name of the Module to publish to server | String |
Password | The password of the user | String |
Server Address | The server address | String |
User Id | Id of the user account | String |
Common Errors
Value cannot be null
If an input value is null, an error will occur.
To correct this, ensure that each input is correctly mapped or a value is entered.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Publish Module To Server 1[PublishModuleToServer] in flow [Flow 2]: Exception invoking method PublishModuleToServer on class ImportExportSteps
---> DecisionsFramework.LoggedException: Exception invoking method PublishModuleToServer on class ImportExportSteps
---> System.ArgumentNullException: Value cannot be null. (Parameter 'input'
at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg
at System.Text.RegularExpressions.Regex.Replace(String input, String replacement
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
at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.PublishModuleToServer(String moduleName, String serverAddress, String instanceName, String userId, String password, Boolean confirmConfiguration)
--- 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 ---
System.Exception: sourcePath: 'C:\....' folder not found
If the module name provided is not found, an error will occur.
To correct this, ensure that the folder exists in the Instance.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Publish Module To Server 1[PublishModuleToServer] in flow [Flow 2]: Exception invoking method PublishModuleToServer on class ImportExportSteps
---> DecisionsFramework.LoggedException: Exception invoking method PublishModuleToServer on class ImportExportSteps
---> System.ArgumentNullException: Value cannot be null. (Parameter 'input'
at System.Text.RegularExpressions.ThrowHelper.ThrowArgumentNullException(ExceptionArgument arg
at System.Text.RegularExpressions.Regex.Replace(String input, String replacement
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
at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.PublishModuleToServer(String moduleName, String serverAddress, String instanceName, String userId, String password, Boolean confirmConfiguration)
--- 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?